installation_instruction.__main__
Attributes
Classes
Custom click command class to read config file, folder or git repository and show installation instructions with parameters. |
Functions
|
Returns the os from the list of possible os systems defined in the schema. |
|
|
|
|
|
|
|
Module Contents
- installation_instruction.__main__.VERSION_STRING
- installation_instruction.__main__._get_system(option_types)
Returns the os from the list of possible os systems defined in the schema.
- Parameters:
option_types (list) – list of system from the schema.
- Returns:
os system from input list or None.
- Return type:
string or None
- installation_instruction.__main__._red_echo(text: str)
- class installation_instruction.__main__.ConfigReadCommand(*args, **kwargs)
Bases:
click.MultiCommandCustom click command class to read config file, folder or git repository and show installation instructions with parameters.
- get_command(ctx, config_file: str) click.Command | None
Given a context and a command name, this returns a
Commandobject if it exists or returns None.
- installation_instruction.__main__.show(ctx, raw)
- installation_instruction.__main__.install(ctx, verbose)
- installation_instruction.__main__.main(ctx)