diff options
author | Steve Moyer <smoyer1@selesy.com> | 2022-09-25 08:05:34 -0400 |
---|---|---|
committer | Steve Moyer <smoyer1@selesy.com> | 2022-09-25 08:05:48 -0400 |
commit | 10ba2246f9b5285f5118a5ba5be134724af4bbe0 (patch) | |
tree | 0981e099599f2d1ad0180cc60854d5d5be3bcc24 /commands/ls-id.go | |
parent | 1a5f4be6904694189b8f2461529f1160191a7810 (diff) | |
download | git-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.go | 7 |
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 |