summaryrefslogtreecommitdiff
path: root/shroud/ui
Commit message (Collapse)AuthorAgeFilesLines
* ui: Return #f from subcommands when the database hasn't changed.David Thompson2015-09-282-2/+2
| | | | | | | * shroud/ui.scm (shroud-main): Do not save database when #f is returned from a subcommand. * shroud/ui/list.scm (shroud-list): Return #f. * shroud/ui/show.scm (shroud-show): Likewise.
* Add X clipboard support.David Thompson2015-08-171-18/+33
| | | | | | | | | | | | * configure.ac (XCLIP): New variable. * package.scm: Add xclip dependency. * shroud/config.scm: Untrack. Now automatically generated. * shroud/config.scm.in: New file. * shroud/utils.scm (call-with-clipboard): New procedure. * shroud/ui/show.scm (%options): Add --clipboard option. (show-help): Add help text for --clipboard. (display-secret): New procedure. (shroud-show): Handle --clipboard option.
* ui: show: Fix error messages.David Thompson2015-08-171-1/+4
| | | | | * shroud/ui/show.scm (shroud-show): Display an error if requested secret doesn't exist. Remove capitalization on "no secret ID given" message.
* ui: show: Extend to allow showing all keys of a secret.David Thompson2015-08-151-32/+31
| | | | | | | * shroud/ui/show.scm (show-help): Remove --password help text. (%options): Remove --password option. (process-args): New procedure. (shroud-show): Rewrite.
* ui: Add 'list' subcommand.David Thompson2015-08-121-0/+55
| | | | | | * shroud/ui.scm (%commands): Add "list". * shroud/ui/list.scm: New file. * Makefile.am (SOURCES): Add it.
* hide: Allow hiding arbitrary key/value pairs.David Thompson2015-06-111-34/+38
| | | | | | | | * shroud/ui/hide.scm (show-help): Update option documentation. (%options): Remove username, password, id, and replace options. Add edit option. (process-args): New procedure. (shroud-hide): Allow adding/editing any key/value pair.
* Change <secret> to store arbitrary key/value pairs.David Thompson2015-06-102-4/+6
| | | | | | | * shroud/secret.scm (secret-username, secret-password): Delete. (secret-contents): New accessor. (secret-ref): New procedure. (alist->secret, secret->alist): Use new format.
* ui: remove: Tweak error message style.David Thompson2015-05-251-1/+1
| | | | | * shroud/ui/remove.scm (shroud-remove): Use more consistent error message style.
* ui: Fix --version option for subcommands.David Thompson2015-05-253-3/+3
| | | | | | * shroud/ui/hide.scm (%options): Fix version option name. * shroud/ui/show.scm (%options): Likewise. * shroud/ui/remove.scm (%options): Likewise.
* Add show, hide, and remove subcommands.David Thompson2015-05-253-0/+232