CLI Package

API & CLI

The CLI consumes the API, and reflects it.

$ python -m Noesis.cli get-users
…
$ python -m Noesis.cli get-user 1
$ python -m Noesis.cli get-snapshots 1
$ python -m Noesis.cli get-snapshot 1 2
$ python -m Noesis.cli get-result 1 2 'pose'

All commands accepts the -h/–host and -p/–port flags to configure the host and port, but default to the API’s address. The get-result command also accepts the -s/–save flag that, if specified, receives a path, and saves the result’s data to that path.