Adds filter to the root command and updates README

This commit is contained in:
Miguel de la Cruz 2020-02-29 14:30:59 +01:00
parent 75b6330243
commit ecc5726804
3 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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",

View file

@ -15,6 +15,7 @@ func RootCmd() *cobra.Command {
cmd.AddCommand( cmd.AddCommand(
AddCmd(), AddCmd(),
FilterCmd(),
InitCmd(), InitCmd(),
TokenCmd(), TokenCmd(),
) )