- download latest binary from
realises
- to make
tokens
accessible from anywhere type:
$ # rename executable you downloaded to "tokens"
$ mv tokens-linux-amd64 tokens # example
$ chmod 777 tokens
$ echo -e "\n$(printf 'PATH=\"$PATH:%s\"' $(pwd))\n" >> ~/.bashrc | source ~/.bashrc
or change
$(pwd)
to your installation path
pwd
pastes your current terminal directory
git clone https://github.com/readyyyk/little-pswd-mgr
cd little-pswd-mgr
make
sudo make install
flags | data format | description | 🚩 |
---|---|---|---|
<no flag> | logs saved data | ||
-h or --help |
shows help message | ||
-a or --add |
"data user @host " |
adds new | |
-d or --del |
user @host |
deletes one | |
-s or --sort |
string |
logs only records that contain provided string |
tokensOutput:
DATA USER @ HOST ─────────────────────────────── 123 test @ todooos.live qwe zxc @ localhost:5541 root root @ localhost
tokens -htokens --helpOutput:
<help output>
tokens -s localhosttokens --sort localhostOutput: (but with colors)
DATA USER @ HOST ─────────────────────────────── qwe zxc @ localhost:5541 root root @ localhost
tokens --add "my_password qwerty@github.com"
tokens -a "my_password qwerty@github.com"
Output:
Added
tokens --del raeadyyyk@gitpro.ttaallkk.toptokens -d "raeadyyyk@github.com"
Output:
Deleted
or
Not found record with user: raeadyyyk for host: github.com
- refactor everything...
- add password input
- encryption for data file