help

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Entry

func Entry()

Entry function is the entry point for the devices module.

Types

type Command

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

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

func (c *Commands) Fill()

Fill fills an empty struct with the latest commands from the commands api.

func (*Commands) List

func (c *Commands) List()

List lists all the commands to the screen in a similar way to devices.

Jump to

Keyboard shortcuts

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