Adds filter to the root command and updates README
This commit is contained in:
parent
75b6330243
commit
ecc5726804
3 changed files with 6 additions and 0 deletions
|
@ -13,6 +13,7 @@ Usage:
|
||||||
|
|
||||||
Available Commands:
|
Available Commands:
|
||||||
add Adds tickets to the campaign
|
add Adds tickets to the campaign
|
||||||
|
filter Interactively filters the current ticket list
|
||||||
help Help about any command
|
help Help about any command
|
||||||
init Creates a new campaign in the current directory
|
init Creates a new campaign in the current directory
|
||||||
token Subcommands related to tokens
|
token Subcommands related to tokens
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/spf13/cobra"
|
||||||
|
)
|
||||||
|
|
||||||
func FilterCmd() *cobra.Command {
|
func FilterCmd() *cobra.Command {
|
||||||
return &cobra.Command{
|
return &cobra.Command{
|
||||||
Use: "filter",
|
Use: "filter",
|
||||||
|
|
|
@ -15,6 +15,7 @@ func RootCmd() *cobra.Command {
|
||||||
|
|
||||||
cmd.AddCommand(
|
cmd.AddCommand(
|
||||||
AddCmd(),
|
AddCmd(),
|
||||||
|
FilterCmd(),
|
||||||
InitCmd(),
|
InitCmd(),
|
||||||
TokenCmd(),
|
TokenCmd(),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue