Skip to content

cli

Module for cli parsers and handlers.

app4docs = make_app() module-attribute

Only used for generating documentation, do not use for any other purpose.

As cyclopts mkdocs plugin does not support an App generator function, only an App instance.

main(argv=None)

Main entry point for the CLI.

Parameters:

Name Type Description Default
argv Sequence[str] | None

List of command line arguments. If None, uses sys.argv.

None

make_app()

Make CLI App instance.

The optional user configuration file is located at ~/.config/protein-quest/config.toml. Or wherever the PROTEIN_QUEST_CONFIG environment variable points to.