pwc/README

37 lines
782 B
Plaintext
Raw Permalink Normal View History

2021-05-20 20:25:27 +03:00
pwc
2021-05-20 20:44:29 +03:00
===
2021-05-20 20:25:27 +03:00
2021-05-20 20:44:29 +03:00
Password Copy.
2021-05-20 20:25:27 +03:00
2021-05-20 20:44:29 +03:00
Generate password and copy it to clipboard via xclip. Generated password will not printed in termainal. Default password lenght is 12 characters.
2021-05-20 20:25:27 +03:00
2021-05-20 20:44:29 +03:00
Installation
============
Just download pwc.py and place it into $PATH. ~/.local/bin/pwc is good choice. Don't forget give execution rights to file:
$ chmod +x pwc.py
pwc requires xclip package. Install xclip for your operating system.
Arch Linux:
$ sudo pacman -S xclip
Ubuntu/Debian:
$ sudo apt install xclip
Usage
=====
2021-05-20 20:25:27 +03:00
2022-02-06 17:04:31 +03:00
Usage: pwc [-h|--help] [-s|--special] [-p|--print] [<lenght>]
2021-05-20 20:25:27 +03:00
-s, --special use punctuation characters in password.
-p, --print print password to STDOUT instead of copy to clipboard.
-h, --help print this help message and exit.
2021-05-20 20:44:29 +03:00
Example:
$ pwc -s 32