summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* config: Remove hardcoded version reference.HEADmasterAbhiseck Paira2022-07-071-1/+1
| | | | | | * shroud/config.scm.in (%shroud-version): This variable holds a hard coded string value 0.1 as the version number for shroud. Use autoconf output variable "PACKAGE_VERSION" to specify this value instead.
* ui: Recognize --help and --version when other arguments follow.Abhiseck Paira2022-07-071-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | From 881446873325df909f0b9779a8b347dee276f2c9 Mon Sep 17 00:00:00 2001 From: Abhiseck Paira <abhiseckpaira@disroot.org> Date: Fri, 1 Jul 2022 20:00:57 +0530 Subject: [PATCH] fix(ui): recognize -h when it's 1st arg in a multi arg command line When shroud is called with multiple arguments with -h (or --version) as the first argument, it fails to recognize -h (or --version) and prints "unrecognized option '-h'" in the shell. For example following command would not print help information: $ shroud -h list instead shroud complains that -h is an unrecognized option. Change the pattern in `match' macro call in the function `shroud-main' so that when -h (or --version) is first argument, it is recognized and appropriate action is invoked. Rest of the arguments are discarded. * shroud/ui.scm (shroud-main): Modify pattern in `match' macro call to match "-h", "--help" (or "--version") when it's the first argument in a multiple argument command line. Discard the rest of the arguments.
* ui: Fix typo in 'leave' procedure docstring.Abhiseck Paira2022-06-091-1/+1
| | | | | | | | | | | From 08e10de21fab5438fbaa82138eb78c1de074e4eb Mon Sep 17 00:00:00 2001 From: Abhiseck Paira <abhiseckpaira@disroot.org> Date: Thu, 9 Jun 2022 17:04:14 +0530 Subject: [PATCH] docs(shroud/ui.scm): fix typo in `leave' function docstring In the docstring of the function `leave', replace "exist" with "exit". * shroud/ui.scm: Doc fix.
* ui: Make database and config files configurable.Xinglu Chen2021-03-181-2/+4
| | | | | | | | It will fallback to the legacy paths, maintaining backward compatibility. * shroud/ui.scm (%default-config): Read environment variable to determine database file. (load-config): Read environment variable to determine config file.
* package.scm: Fix package definition.Xinglu Chen2021-03-181-2/+27
| | | | | | Copy wrapper phase from the package definition in Guix proper. * package.scm (%source-dir): New variable.
* Add 'make publish' target.David Thompson2019-07-101-0/+5
|
* Ignore .tar.gz and .asc files.David Thompson2019-07-101-0/+2
|
* Bump version to 0.1.2.v0.1.2David Thompson2019-07-101-1/+1
|
* Makefile: Install Guile modules in the correct location.Amar Singh2019-07-091-2/+3
| | | | | * Makefile.am (moddir, godir): Use $GUILE_EFFECTIVE_VERSION to generate installation directories.
* configure: Add support for Guile 2.2 and 3.0.David Thompson2019-07-031-1/+2
|
* README: Add a note about Guile's load paths.David Thompson2015-10-011-0/+15
| | | | | | | | When installing to a prefix that is different than where Guile itself was installed, users need to do some extra work to setup their load paths. Thanks to ArneBab for the original patch this text was adapted from.
* Bump to version 0.1.1.v0.1.1David Thompson2015-10-011-1/+1
|
* Install scripts/shroud to $prefix/bin.David Thompson2015-10-011-0/+3
| | | | What a huge oversight. Thanks the ArneBab for reporting.
* README: Add X clipboard example.David Thompson2015-10-011-1/+4
|
* Detect GPG binary at configure time.v0.1.0David Thompson2015-09-283-1/+5
| | | | | | * configure.ac (GPG): New variable. * shroud/config.scm.in (%gpg): New variable. * shroud/ui.scm (%default-config): Use '%gpg' as default GPG binary.
* ui: Return #f from subcommands when the database hasn't changed.David Thompson2015-09-283-3/+3
| | | | | | | * 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-176-21/+53
| | | | | | | | | | | | * 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.
* Move default database file to ~/.config/shroud/db.gpg.David Thompson2015-08-172-2/+30
| | | | | | | | * shroud/utils.scm (mkdir-p): New procedure. * shroud/ui.scm (%default-config): Change default value of 'database-file'. (shroud-main): Ensure database directory has been created before saving.
* Distribute pre-inst-env.in and package.scm in release tarballs.David Thompson2015-08-151-0/+4
| | | | * Makefile.am (EXTRA_DIST): Add pre-inst-env.in and package.scm.
* Fix package.scm.David Thompson2015-08-151-1/+1
|
* Update README.David Thompson2015-08-151-9/+15
|
* 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.
* utils: Add alist-pick.David Thompson2015-08-151-0/+11
| | | | * shroud/utils.scm (alist-pick): New procedure.
* ui: Add leave-if-false.David Thompson2015-08-151-0/+6
| | | | * shroud/ui.scm (leave-if-false): New procedure.
* ui: Add 'list' subcommand.David Thompson2015-08-123-1/+57
| | | | | | * shroud/ui.scm (%commands): Add "list". * shroud/ui/list.scm: New file. * Makefile.am (SOURCES): Add it.
* squash me.David Thompson2015-06-111-0/+14
| | | | * shroud/utils.scm (alist-compact): New procedure.
* 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-103-14/+17
| | | | | | | * shroud/secret.scm (secret-username, secret-password): Delete. (secret-contents): New accessor. (secret-ref): New procedure. (alist->secret, secret->alist): Use new format.
* README: Add new usage example.David Thompson2015-05-261-2/+5
|
* Tweak README.David Thompson2015-05-261-1/+1
|
* 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-2510-44/+389
|
* First commit.David Thompson2015-05-2513-0/+1116