A CLI to access data from a Passman instance.
There is still no version pushed to PyPi, so you can still by cloning this
repository and running python setup.py install
. A passman
command will be
available in your shell.
- Clone this repository
- Install the development requirements:
pip install -r requirements.txt
- (Optional) Install the egg in
develop
mode:python setup.py develop
To learn more about the usage please run passman --help
.
Passman CLI supports a TOML config file to save the base url of the instance
and your username and password. You can send a path to the config file using the
--config
option of the command-line. It also looks for a config named
passman_cli.toml
at the current working dir and at ~/.config/
, in this exact
order.
Here's an example of configuration:
base_url = "https://my.nextcloud/apps/passman/api/v2"
auth = ["admin", "password"]