cmd

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2019 License: GPL-2.0, GPL-2.0-or-later Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd interface {
	Apropos() lang.Alt
	Main(...string) error
	// String returns the coammand name.
	String() string
	Usage() string
}

type Kind

type Kind uint16
const (
	DontFork Kind = 1 << iota
	Daemon
	Hidden
	CantPipe
	NoCLIFlags
)

func WhatKind

func WhatKind(v Cmd) Kind

func (Kind) IsCantPipe

func (k Kind) IsCantPipe() bool

func (Kind) IsDaemon

func (k Kind) IsDaemon() bool

func (Kind) IsDontFork

func (k Kind) IsDontFork() bool

func (Kind) IsHidden

func (k Kind) IsHidden() bool

func (Kind) IsInteractive

func (k Kind) IsInteractive() bool

func (Kind) IsNoCLIFlags

func (k Kind) IsNoCLIFlags() bool

func (Kind) String

func (k Kind) String() string

Directories

Path Synopsis
cli
internal/liner
Package liner is a wrapper to Peter Harris' <pharris@opentext.com> "Go line editor" <github.com:peterh/liner>.
Package liner is a wrapper to Peter Harris' <pharris@opentext.com> "Go line editor" <github.com:peterh/liner>.
internal/notliner
Package notliner provides an alternative command.Prompter for shell scripts and tty's unsupported by liner.
Package notliner provides an alternative command.Prompter for shell scripts and tty's unsupported by liner.
Package dhcpcd is a simple dhcp client
Package dhcpcd is a simple dhcp client
Package gpio provides cli command to query/configure GPIO pins.
Package gpio provides cli command to query/configure GPIO pins.
set
Package i2c provides cli command to access i2c devices.
Package i2c provides cli command to access i2c devices.
Package ucd9090 provides access to the UCD9090 Power Sequencer/Monitor chip
Package ucd9090 provides access to the UCD9090 Power Sequencer/Monitor chip
Package install provides the named command that installs this executable to /usr/bin/NAME; creates /etc/init.d/NAME and /etc/default/goes; then a bunch of other stuff.
Package install provides the named command that installs this executable to /usr/bin/NAME; creates /etc/init.d/NAME and /etc/default/goes; then a bunch of other stuff.
ip
all
fou
internal/group
Cache parse of /etc/iproute2/group
Cache parse of /etc/iproute2/group
n
route/show
ip route show (default) | flush | get | save | restore
ip route show (default) | flush | get | save | restore
platina
mk1/bmc/ledgpiod
Package ucd9090 provides access to the UCD9090 Power Sequencer/Monitor chip Package ucd9090 provides access to the UCD9090 Power Sequencer/Monitor chip
Package ucd9090 provides access to the UCD9090 Power Sequencer/Monitor chip Package ucd9090 provides access to the UCD9090 Power Sequencer/Monitor chip
mk1/bmc/ucd9090d
Package ucd9090d provides access to the UCD9090 Power Sequencer/Monitor chip Package ucd9090d provides access to the UCD9090 Power Sequencer/Monitor chip
Package ucd9090d provides access to the UCD9090 Power Sequencer/Monitor chip Package ucd9090d provides access to the UCD9090 Power Sequencer/Monitor chip
mk1/bmc/upgrade
Package ucd9090 provides access to the UCD9090 Power Sequencer/Monitor chip
Package ucd9090 provides access to the UCD9090 Power Sequencer/Monitor chip
mk1/toggle
Package ucd9090 provides access to the UCD9090 Power Sequencer/Monitor chip
Package ucd9090 provides access to the UCD9090 Power Sequencer/Monitor chip
Package redisd provides a redis server daemon that is started by /sbin/init or /usr/sbin/goesd *before* all other daemons.
Package redisd provides a redis server daemon that is started by /sbin/init or /usr/sbin/goesd *before* all other daemons.
Package reload provides the named command that sends SIGHUP to all of the daemons associated with this executable.
Package reload provides the named command that sends SIGHUP to all of the daemons associated with this executable.
Package start provides the named command that runs a redis server followed by all of the configured daemons.
Package start provides the named command that runs a redis server followed by all of the configured daemons.
Package stop provides the named command that kills all of the daemons associated with this executable.
Package stop provides the named command that kills all of the daemons associated with this executable.
This telnet daemon is only run from an embedded machine's /init, not /usr/bin/goes start
This telnet daemon is only run from an embedded machine's /init, not /usr/bin/goes start
test
sleeper
Package sleeper provides a test ticker daemon.
Package sleeper provides a test ticker daemon.
Package uninstall provides the named command that stops and removes /usr/bin/goes and it's associated files.
Package uninstall provides the named command that stops and removes /usr/bin/goes and it's associated files.
Package uptimed publishes the system uptime every 60 seconds to the local redis server.
Package uptimed publishes the system uptime every 60 seconds to the local redis server.
Watchdog is only run by an embedded machine's /init, not by /usr/bin/goes start
Watchdog is only run by an embedded machine's /init, not by /usr/bin/goes start

Jump to

Keyboard shortcuts

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