andytruett / onetimesecret-cli

command-line interface for onetimesecret.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

onetimesecret-cli

command-line interface for onetimesecret.com

Python compiled to exe with Nuitka.

Uses https://github.com/utter-step/py_onetimesecret, modified for Python3.

usage: ots.exe [-h] [-e EMAIL] [-a APIKEY] [-s SECRET] [-p PASSWORD] [-t TTL]

Create a OneTimeSecret and copy its link to the clipboard.

Credentials will be prompted for if not provided.

An INI config file generator will be offered to retain credentials for future use.

Do not share your onetimesecret API key.

optional arguments:
  -h, --help                        show this help message and exit
  -e EMAIL, --email EMAIL           (str) Account info (email address) for onetimesecret.com
  -a APIKEY, --apikey APIKEY        (str) API key from onetimesecret.com
  -s SECRET, --secret SECRET        (str) The secret to share
  -p PASSWORD, --password PASSWORD  (str) The password to lock the secret (default is none)
  -t TTL, --ttl TTL                 (int) Maximum time to live of the secret, in seconds (default 3600)

About

command-line interface for onetimesecret.com


Languages

Language:Python 100.0%