Skip to content

douglascamata/passman_cli

Repository files navigation

Passman CLI

A CLI to access data from a Passman instance.

Installation

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.

Development

  1. Clone this repository
  2. Install the development requirements: pip install -r requirements.txt
  3. (Optional) Install the egg in develop mode: python setup.py develop

Usage

To learn more about the usage please run passman --help.

Config File

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"]

Releases

No releases published

Packages

No packages published