douglascamata / passman_cli

A CLI for Passman.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A CLI for Passman.

License:MIT License


Languages

Language:Python 82.7%Language:Makefile 17.3%