installation_instruction.__main__

Attributes

VERSION_STRING

Classes

ConfigReadCommand

Custom click command class to read config file, folder or git repository and show installation instructions with parameters.

Functions

_get_system(option_types)

Returns the os from the list of possible os systems defined in the schema.

_red_echo(text)

show(ctx, raw)

install(ctx, verbose)

main(ctx)

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.MultiCommand

Custom 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 Command object if it exists or returns None.

installation_instruction.__main__.show(ctx, raw)
installation_instruction.__main__.install(ctx, verbose)
installation_instruction.__main__.main(ctx)