Skip to content

Geniusctl

The main command line application

GeniusCtl

Main class for managing the geniusrise CLI application.

__init__()

Initialize GeniusCtl.v

Parameters:

Name Type Description Default
directory str

The directory to scan for spouts and bolts.

required

cli()

Main function to be called when geniusrise is run from the command line.

create_parser()

Create a command-line parser with arguments for managing the application.

Returns:

Type Description

argparse.ArgumentParser: Command-line parser.

list_spouts_and_bolts(verbose=False)

List all discovered spouts and bolts in a table.

run(args)

Run the command-line interface.

Parameters:

Name Type Description Default
args argparse.Namespace

Parsed command-line arguments.

required