satisfy linter

This commit is contained in:
2026-08-31 22:02:07 +02:00
parent cafc65aea7
commit 49eb1033ef
23 changed files with 327 additions and 220 deletions

View File

@@ -1,7 +1,7 @@
package cmd
var manpage = `
anydb
NAME
anydb - a personal key value store
SYNOPSIS
@@ -179,7 +179,7 @@ SUBCOMMANDS
the same meaning as in the list command. The "json" mode prints the raw
JSON representation of the whole database entry. Decryption will only
take place in "simple" and "json" mode. The "template" mode provides the
most flexibily, it is detailed in the section TEMPLATES.
most flexibility, it is detailed in the section TEMPLATES.
list
The list subcommand displays a list of all database entries.
@@ -407,7 +407,7 @@ TEMPLATES
Each template operates on one or more entries, no loop construct is
required, the template provided applies to every matching entry
separatley.
separateley.
The following template variables can be used:
@@ -417,6 +417,9 @@ TEMPLATES
"-s" flag so that values are included in output data stream.
Otherwise you can only use ".Preview".
Be careful if you use "-s" and ".Value" though: if a value is a
multiline string, it may clutter your output.
.Preview string
First line of entry value (if it is a string).