Generate password and copy it to clipboard.
Go to file
2022-02-06 17:04:31 +03:00
COPYING add COPYING 2021-05-20 20:44:29 +03:00
pwc.py feat: Update help text 2022-02-06 17:03:01 +03:00
README feat: Update README 2022-02-06 17:04:31 +03:00

pwc
===

Password Copy.

Generate password and copy it to clipboard via xclip. Generated password will not printed in termainal. Default password lenght is 12 characters.

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
=====

Usage: pwc [-h|--help] [-s|--special] [-p|--print] [<lenght>]

    -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.

Example:

$ pwc -s 32