Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigCmd = &cobra.Command{ Use: "config", Short: "Set or get configuration for ioctl", ValidArgs: []string{"set", "get"}, Args: cobra.MinimumNArgs(1), Run: func(cmd *cobra.Command, args []string) { fmt.Println("Print: " + strings.Join(args, " ")) }, }
ConfigCmd represents the config command
View Source
var ( // ConfigDir is the directory to store config file ConfigDir string )
View Source
var ErrEmptyEndpoint = "no endpoint has been set"
ErrEmptyEndpoint indicates error for empty endpoint
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.