Skip to main content

"CLI for your passwords."

Project description

CLI for your passwords API.

Install

This python project requires python 3.6, otherwise the pip install should work fine:

$ pip install mypasswords-cli

Usage

By default we can run the server as python module as follow:

$ mypasswords-cli
usage: mypasswords-cli [-h] [-a BASIC_AUTH] [-k] [-u URL]
                  {add,delete,search,show,update} ...

positional arguments:
  {add,delete,search,show,update}

optional arguments:
  -h, --help            show this help message and exit
  -a BASIC_AUTH, --basic_auth BASIC_AUTH
  -k, --insecure
  -u URL, --url URL

API

Add

$ mypasswords-cli add gitlab.com -l toopy
Please enter a password to set:
Password:

┌──────────────────────────────────────┬───────┬────────────┐
│ id                                   │ login │ site       │
├──────────────────────────────────────┼───────┼────────────┤
│ ce35a5f1-6f83-48bc-b8b3-6f8e6021ae42 │ toopy │ gitlab.com │
└──────────────────────────────────────┴───────┴────────────┘

Update

$ mypasswords-cli update gitlab.com -l toopy
Please enter a password to set:
Password:
┌──────────────────────────────────────┬───────┬────────────┐
│ id                                   │ login │ site       │
├──────────────────────────────────────┼───────┼────────────┤
│ ce35a5f1-6f83-48bc-b8b3-6f8e6021ae42 │ toopy │ gitlab.com │
└──────────────────────────────────────┴───────┴────────────┘

Show

$ mypasswords-cli show gitlab.com
┌──────────────────────────────────────┬───────┬──────────┬────────────┐
│ id                                   │ login │ password │ site       │
├──────────────────────────────────────┼───────┼──────────┼────────────┤
│ ce35a5f1-6f83-48bc-b8b3-6f8e6021ae42 │ toopy │ ******   │ gitlab.com │
└──────────────────────────────────────┴───────┴──────────┴────────────┘

Delete

$ mypasswords-cli delete gitlab.com

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mypasswords-cli, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size mypasswords_cli-0.1.1-py2.py3-none-any.whl (5.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size mypasswords-cli-0.1.1.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page