functions

pdbstore.cli.cli.main(args: List[str] | None = None) str | int | None

main entry point of the pdbstore application, using a Command to parse parameters.

Parameters:
param args:

Optional command-line arguments, else sys.argv will be used by default

Returns:

One of the following exit code:

  • 0: Success (done)

  • 1: General PDBStoreException error (done)

  • 2: Ctrl+C

  • 3: Ctrl+Break

  • 4: SIGTERM

  • 5: Invalid configuration (done)

  • 6: Unexpected error

  • 7: Invalid command name

  • 8: Invalid sub-command name