network

package
v0.0.0-...-e4f132a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2016 License: LGPL-3.0 Imports: 7 Imported by: 1

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL