aboutsummaryrefslogtreecommitdiffstats
path: root/commands/ls-id.go
diff options
context:
space:
mode:
authorSteve Moyer <smoyer1@selesy.com>2022-09-25 08:05:34 -0400
committerSteve Moyer <smoyer1@selesy.com>2022-09-25 08:05:48 -0400
commit10ba2246f9b5285f5118a5ba5be134724af4bbe0 (patch)
tree0981e099599f2d1ad0180cc60854d5d5be3bcc24 /commands/ls-id.go
parent1a5f4be6904694189b8f2461529f1160191a7810 (diff)
downloadgit-bug-10ba2246f9b5285f5118a5ba5be134724af4bbe0.tar.gz
refactor(git-bug-863): merge ls-id into ls
The "ls" command allows filtering and sorting and already features different output formatters. Merging "ls-id" into "ls" cleans up the command hierarchy and allows users to take advantage of these querying features. Resolves #863.
Diffstat (limited to 'commands/ls-id.go')
-rw-r--r--commands/ls-id.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/commands/ls-id.go b/commands/ls-id.go
index 41f017e8..31107e87 100644
--- a/commands/ls-id.go
+++ b/commands/ls-id.go
@@ -14,6 +14,13 @@ func newLsIdCommand() *cobra.Command {
RunE: closeBackend(env, func(cmd *cobra.Command, args []string) error {
return runLsId(env, args)
}),
+ Deprecated: `and will be removed in v1.0.
+
+Please use the "ls" command which allows filtering and sorting of the resulting
+list of ids. The following example would print a new-line separated list containing
+the ids of all open bugs:
+git-bug ls --format id --status open
+`,
}
return cmd