package remote import ( "github.com/spf13/cobra" ) var cfg string var remoteCmd = &cobra.Command{ Use: "remote", Short: "Manage Remote Server", } func InitCmd(cmd *cobra.Command, config string) { cfg = config cmd.AddCommand(remoteCmd) }