Add structure to the sync command
This commit is contained in:
parent
6334dbfaca
commit
0efefd02c6
2 changed files with 19 additions and 0 deletions
|
@ -20,6 +20,7 @@ func RootCmd() *cobra.Command {
|
||||||
StandaloneCmd(),
|
StandaloneCmd(),
|
||||||
TokenCmd(),
|
TokenCmd(),
|
||||||
PublishCmd(),
|
PublishCmd(),
|
||||||
|
SyncCmd(),
|
||||||
)
|
)
|
||||||
|
|
||||||
return cmd
|
return cmd
|
||||||
|
|
18
cmd/sync.go
Normal file
18
cmd/sync.go
Normal 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) {}
|
Loading…
Reference in a new issue