Commander
Commander copied to clipboard
:sparkles: Add ability to pipe commands
Add the ability to pipe commands, specifically for retrieving secrets. This would greatly accelerate the day-to-day use of this in the terminal. Ideally, this should be possible via your actual bash/powershell/etc., but invoking the keeper
command requires a login every time it is run (or --config path/to/config.json
, but I still think a login takes place).
For instance, to retrieve a record detail, it requires two separate commands, some scrolling (see this bug report), and possibly some copy and paste. It should be possible on a one-liner.
You should be able to do the following in keeper shell
:
s [email protected] | g --unmask
This sequence of commands below is what is currently required.
My Vault> s [email protected]
# record uid type title description
--- ---------------------- ------ -------------------- --------------------
1 xxxxxxxxxxxxxxxxxxxxxx login hourglass testflight [email protected]
uid: xxxxxxxxxxxxxxxxxxxxxx
type: login
title: hourglass testflight
...
(login): [email protected]
(password): ********
...
My Vault> g XXXXXXXXXXXXXXXXXXXXXX --unmask
UID: XXXXXXXXXXXXXXXXXXXXXX
Type: login
...
(login): [email protected]
(password): !9v5D$chxuNTpa