blinkenxmas.cli

The blinkenxmas.cli module implements the main function for the bxcli application.

Entry point

blinkenxmas.cli.main(args=None)[source]

Entry point for bxcli

Support functions

blinkenxmas.cli.get_cli_parser()[source]

Return an ConfigArgumentParser instance for handling the options of bxcli.

blinkenxmas.cli.do_help(config, queue)[source]

With no arguments, display the list of sub-commands. If a command name is given, display the description and options for that command

blinkenxmas.cli.do_off(config, queue)[source]

Switch all LEDs off

blinkenxmas.cli.do_on(config, queue)[source]

Switch all LEDs on with the specified color

blinkenxmas.cli.do_set(config, queue)[source]

Switch on a single LED to the specified color

blinkenxmas.cli.do_list(config, queue)[source]

List the names of all available presets

blinkenxmas.cli.do_show(config, queue)[source]

Load and display the specified preset