Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "device-init", Short: "Initialize your device", Long: `device-init allows you to configure various aspect of your devices. This ranges from configuration as simple as setting a hostname to more complex stuff as configuring WiFi access.`, Run: func(cmd *cobra.Command, args []string) { if cfgFile != "" { set_all_commands() } else { cmd.Help() } }, }
This represents the base command when called without any subcommands
Functions ¶
Types ¶
type Credentials ¶ added in v0.1.0
type Credentials struct {
Ssid, Password string
}
type WifiConfig ¶ added in v0.1.0
type WifiConfig struct {
Interfaces map[string]Credentials
}
Click to show internal directories.
Click to hide internal directories.