package
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Apr 16, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Entry function is the entry point for
the devices module.
type Command struct {
Name string `json:"name"`
Description string `json:"description"`
Examples []string `json:"examples"`
BuildNo int `json:"build_no"`
}
Command struct holds parsed json data
about each specific command available
on the CLI.
type Commands struct {
Commands []Command `json:"commands"`
BuildNo int `json:"build_no"`
}
Commands struct holds parsed json
data about all the commands available
on the CLI.
func (*Commands) Fill ¶
Fill fills an empty struct with the latest
commands from the commands api.
func (*Commands) List ¶
List lists all the commands to the screen
in a similar way to devices.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.