commit 094404790dee16a61d257a8b26123e291d42e230
parent a0dad36e686b3ff728af4e4347d9c4089aa847af
Author: Natasha Kerensikova <natgh@instinctive.eu>
Date: Fri, 31 Oct 2025 22:46:59 +0000
Documentation is updated for raw list output
Diffstat:
3 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/LICENSE b/LICENSE
@@ -1,4 +1,4 @@
-Pashage is Copyright (C) 2024 Natasha Kerensikova. All Rights Reserved.
+Pashage is Copyright (C) 2024-2025 Natasha Kerensikova. All Rights Reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/README.md b/README.md
@@ -91,6 +91,9 @@ the generated secret (e.g. for username, login page, or others comments).
- The `init` command has new flags to control re-encryption (never or
ask for each file).
+- The `list` command has a new flag to output a machine-readable list of
+entries (e.g. for completion or wrappers).
+
- The new `gitconfig` command configures an existing store repository to
decrypt before `diff`.
@@ -487,15 +490,18 @@ Environment:
Syntax:
```
-pashage [list] [subfolder ...]
+pashage [list] [--raw,-r] [subfolder ...]
```
-This subcommand displays the given subfolders as a tree, or the whole store
-when no subfolder is specified.
+This subcommand displays the given subfolders as a tree or a raw list,
+or the whole store when no subfolder is specified.
Note that when a secret is given instead of a subfolder, the _show_ command
will be used instead, without any warning or error.
+Flags:
+- `-r` or `--raw`: display the results as a raw list of secrets
+
Environment:
- `CLICOLOR`: when set to a non-empty value, use ANSI escape sequences to
color the output
diff --git a/pashage.1 b/pashage.1
@@ -1,4 +1,4 @@
-.Dd December 6, 2024
+.Dd October 31, 2025
.Dt PASHAGE 1
.Os
.Sh NAME
@@ -238,14 +238,21 @@ overwrite an existing secret without asking
.Ss list
.Nm
.Op Cm list
+.Op r,--raw
.Op Ar subfolder ...
.Pp
-This subcommand displays the given subfolders as a tree, or the whole store
-when no subfolder is specified.
+This subcommand displays the given subfolders as a tree or as a raw list, or
+the whole store when no subfolder is specified.
.Pp
Note that when a secret is given instead of a subfolder, the
.Cm show
command will be used instead, without any warning or error.
+.Pp
+The options are as follows:
+.Bl -tag -compact -width \-i,--interactive
+.It Fl r,--raw
+display the results as a raw list of secrets.
+.El
.Ss move
.Nm
.Cm move