minitrino.cli module#

Minitrino CLI entrypoint.

class minitrino.cli.CommandLineInterface(name: str | None = None, invoke_without_command: bool = False, no_args_is_help: bool | None = None, subcommand_metavar: str | None = None, chain: bool = False, result_callback: Callable[[...], Any] | None = None, **attrs: Any)[source][source]#

Bases: MultiCommand

Click MultiCommand class for loading and executing commands.

list_commands(ctx: Context) list[str][source][source]#

List available commands.

get_command(ctx: Context, name: str) Any[source][source]#

Load and return the command module.

minitrino.cli.display_version(ctx: Context) None[source][source]#

Return the version of the CLI and the library as a string.