acm
A simple account manager. This is NOT secure, excuse me ;p.
Installation
Install it yourself as:
> gem install acm
If you using Windows, pleas install ffi gem:
> gem install ffi
Usage
At first, init database:
> acm init
The database file is saved as "ENV['ACMDB']" or "ENV['HOME']/.accounts", in YAML. Set location of database file to environment variable 'ACMDB', if you want.
Add account:
> acm add [email protected]
(acm) Key? email
(acm) Value? [email protected]
(acm) Key? password
(acm) Value? xxxxxxxx
(acm) Key? # Enter to exit.
Then added account to database.
List account(s):
> acm list
[email protected]
Search account(s):
> acm search gmail
[email protected]
Show details:
> acm show [email protected]
Account: [email protected]
email: [email protected]
password: ******
In default, value of password is masked. If you see the password, give --pass option. Or --clip option copies the password to clipboard.
Update value of key:
> acm update [email protected] password yyyyyyyy
> acm show --pass [email protected]
Account: [email protected]
email: [email protected]
password: yyyyyyyy
Remove key and value:
> acm remove-key [email protected] password
> acm show [email protected]
Account: [email protected]
email: [email protected]
Rename account:
> acm rename-account [email protected] Gmail
> acm show Gmail
Account: Gmail
email: [email protected]
And remove account:
> acm remove-account Gmail
Account: Gmail
email: [email protected]
Are you sure?(y/n) y # Enter 'y' to remove.
> acm show Gmail
No such account: Gmail
License
MIT License