Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = cli.Command{ Name: "network", Aliases: []string{"net"}, Usage: "Tools for configurating thingiverse.io networking", Description: "Provides tools to display available network interfaces and set the interface to use.", Subcommands: []cli.Command{ ShowCommand, SetCommand, }, }
View Source
var SetCommand = cli.Command{ Name: "set", Usage: "Sets the network interface to the address or interface number", Description: "Sets the interface the thingiverse.io network on this machine to the given address or interface number. If global flag is not set, the configuration is written to the user config file.", Action: runSet, Flags: []cli.Flag{ cli.BoolFlag{ Name: "global, g", Usage: "Writes the value to the global config file", Destination: &useGlobal, }, }, }
View Source
var ShowCommand = cli.Command{
Name: "show",
Usage: "Shows available network interfaces",
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.