cmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFlashCmd

func NewFlashCmd(c **client.Client, jsonFlag *bool) *cobra.Command

func NewPowerCycleCmd

func NewPowerCycleCmd(c **client.Client, jsonFlag *bool) *cobra.Command

func NewRunCmd

func NewRunCmd(c **client.Client, jsonFlag *bool) *cobra.Command

func NewSerialCmd

func NewSerialCmd(c **client.Client, jsonFlag *bool) *cobra.Command

func NewSessionCmd

func NewSessionCmd(c **client.Client, jsonFlag *bool, baseURL *string) *cobra.Command

func NewStatusCmd

func NewStatusCmd(c **client.Client, jsonFlag *bool) *cobra.Command

func NewWhoamiCmd

func NewWhoamiCmd(c **client.Client, jsonFlag *bool) *cobra.Command

Types

type ExitError

type ExitError struct{ Code int }

ExitError carries a specific process exit code up to main(). The command has already printed all human/JSON output; main only maps the code.

func (*ExitError) Error

func (e *ExitError) Error() string

Jump to

Keyboard shortcuts

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