fixed crash in api list, added filter support to api list

This commit is contained in:
2025-01-01 18:08:43 +01:00
parent 675d10d8fa
commit 9afca91159
10 changed files with 31 additions and 29 deletions

View File

@@ -182,7 +182,7 @@ func List(conf *cfg.Config) *cobra.Command {
)
var cmd = &cobra.Command{
Use: "list [<filter-regex> | -t <tag> ] [-m <mode>] [-nNif] [-T <tpl>]",
Use: "list [<filter-regex> | -t <tag> ] [-m <mode>] [-nNis] [-T <tpl>]",
Short: "List database contents",
Long: `List database contents`,
RunE: func(cmd *cobra.Command, args []string) error {