From 90a636861abcc85451b2433be08c344bccb36e3e Mon Sep 17 00:00:00 2001 From: Felipe Martin Date: Mon, 3 Apr 2017 21:43:26 +0200 Subject: [PATCH] Renamed `set` command to avoid overwriting builtins --- luxafor/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luxafor/cli.py b/luxafor/cli.py index 201cd60..d3b7826 100644 --- a/luxafor/cli.py +++ b/luxafor/cli.py @@ -83,10 +83,10 @@ def dec2hex(red, green, blue): return (red, green, blue) -@cli.command() +@cli.command('set') @click.option('--led', default='all') @click.argument('color') -def set(led, color): +def luxa_set(led, color): """Sets the flag with a fixed color.""" color = convert_hex_to_dec_color(color)