spacr.cli_plugins

Command-line diagnostics and catalogue installs for the spaCR plugin SDK.

spacr-plugins list and doctor report what is installed and what failed to load. catalogue browses a plugin and recipe catalogue (a JSON file, its folder or an address, or SPACR_PLUGIN_CATALOGUE), and install, update and uninstall manage one entry of it by key.

Functions

build_parser(→ argparse.ArgumentParser)

Return the spacr-plugins argument parser.

main(→ int)

Run spacr-plugins and return a shell exit code.

Module Contents

spacr.cli_plugins.build_parser() → argparse.ArgumentParser[source]

Return the spacr-plugins argument parser.

spacr.cli_plugins.main(argv: Sequence[str] | None = None) → int[source]

Run spacr-plugins and return a shell exit code.

Parameters:

argv – arguments without the program name; sys.argv when None.