Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = cli.Command{ Name: "configure", Aliases: []string{"cfg"}, Usage: "Options for configurating thingiverse.io", Description: "Provides tools to display the current configuration and init an empty configuration file", Subcommands: []cli.Command{ InitCmd, ShowCommand, }, }
View Source
var InitCmd = cli.Command{ Name: "init", Usage: fmt.Sprintf(`Initializes a default %s at the current directory.`, config.CFG_FILE_NAME), Description: fmt.Sprintf(`Initializes a default %s at the current directory. Specify a path or use subcommands to init a %s at different places`, config.CFG_FILE_NAME, config.CFG_FILE_NAME), Action: runInitCfgFile, Subcommands: []cli.Command{ InitGlobalCmd, }, }
View Source
var InitGlobalCmd = cli.Command{ Name: "global", Usage: fmt.Sprintf(`Initializes a default %s at the global directory.`, config.CFG_FILE_NAME), Description: fmt.Sprintf(`Initializes a default %s at %s.`, config.CFG_FILE_NAME, config.CfgFileGlobal()), Action: runInitCfgFileGlobal, }
View Source
var ShowCommand = cli.Command{
Name: "show",
Usage: "Show the current configuration",
Description: "Shows the current configuration of the thingiverse.io network on this machine",
Action: runShow,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.