dicogis.cli.main module

dicogis.cli.main.main(verbose=False, version=None)

Common options to commands or option only applicable to the main command.

Parameters:
  • verbose (bool) – enable verbose mode. Defaults to False.

  • version (Optional[bool]) – show version and exit. Defaults to version_callback.

dicogis.cli.main.version_callback(value)

Special callback to show verison and exit.

See: https://typer.tiangolo.com/tutorial/options/version/

Raises:

typer.Exit – CLI exit