Add structure to the sync command

This commit is contained in:
Miguel de la Cruz 2020-03-04 22:26:04 +01:00
parent 6334dbfaca
commit 0efefd02c6
2 changed files with 19 additions and 0 deletions

View file

@ -20,6 +20,7 @@ func RootCmd() *cobra.Command {
StandaloneCmd(),
TokenCmd(),
PublishCmd(),
SyncCmd(),
)
return cmd

18
cmd/sync.go Normal file
View file

@ -0,0 +1,18 @@
package cmd
import (
"github.com/spf13/cobra"
)
func SyncCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "sync",
Short: "Synchronizes the status of the tickets with remote providers",
Args: cobra.NoArgs,
Run: syncCmdF,
}
return cmd
}
func syncCmdF(_ *cobra.Command, _ []string) {}