Renamed `set` command to avoid overwriting builtins

This commit is contained in:
Felipe Martin 2017-04-03 21:43:26 +02:00
parent 987d11fa94
commit 90a636861a
1 changed files with 2 additions and 2 deletions

View File

@ -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)