cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 5 Imported by: 5

Documentation

Index

Constants

View Source
const DefaultCmdName = "run"

Variables

This section is empty.

Functions

func RegisterCmd

func RegisterCmd(cmdName string, help string, cmd Cmd)

func RegisterCmdNoArgs added in v0.2.0

func RegisterCmdNoArgs(cmdName string, help string, cmd func())

func Run

func Run()

Types

type Cmd

type Cmd func(args *arg.Arg)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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