Renamed `set` command to avoid overwriting builtins
This commit is contained in:
parent
987d11fa94
commit
90a636861a
|
@ -83,10 +83,10 @@ def dec2hex(red, green, blue):
|
||||||
return (red, green, blue)
|
return (red, green, blue)
|
||||||
|
|
||||||
|
|
||||||
@cli.command()
|
@cli.command('set')
|
||||||
@click.option('--led', default='all')
|
@click.option('--led', default='all')
|
||||||
@click.argument('color')
|
@click.argument('color')
|
||||||
def set(led, color):
|
def luxa_set(led, color):
|
||||||
"""Sets the flag with a fixed color."""
|
"""Sets the flag with a fixed color."""
|
||||||
color = convert_hex_to_dec_color(color)
|
color = convert_hex_to_dec_color(color)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue