cmd

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: GPL-2.0, GPL-2.0-or-later Imports: 1 Imported by: 3

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
)

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) 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
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/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 sshd is a ssh server daemon
Package sshd is a ssh server daemon
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 uptime returns the current system uptime.
Package uptime returns the current system uptime.
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