SCAutolib.cli_commands
Implementation of CLI commands for SCAutolib.
Functions
Classes
- class NaturalOrderGroup(name=None, commands=None, **attrs)[source]
Command group trying to list subcommands in the order they were added. Example use:
@click.group(cls=NaturalOrderGroup)
If passing dict of commands from other sources, ensure they are of type OrderedDict and properly ordered, otherwise order of them will be random and newly added will come to the end.