From 28cf75f1dfe08fb4f4f78f1e56d334dc814cfd04 Mon Sep 17 00:00:00 2001 From: Alexander Beyn Date: Wed, 3 Jun 2020 01:06:51 -0700 Subject: [PATCH] Document showing tasks from all columns --- README.md | 3 +++ cmd/show.go | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7b3a6b5..c051e51 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,9 @@ kb show # Show tasks in the "done" column containing "great task": kb show %done "/great task" +# Show tasks from all columns containing "excellent": +kb show %* /excellent + # Add a new task to the default column: kb add This is my new task diff --git a/cmd/show.go b/cmd/show.go index cbba523..bcddf9b 100644 --- a/cmd/show.go +++ b/cmd/show.go @@ -21,7 +21,10 @@ var showCmd = &cobra.Command{ kb show # Show tasks in the "done" column containing "great task": -kb show %done "/great task"`, +kb show %done "/great task" + +# Show tasks from all columns containing "excellent": +kb show %* /excellent`, ValidArgsFunction: lib.CliSigilCompletions, RunE: func(cmd *cobra.Command, args []string) error {