package
0.0.0-20230130085129-71e9170c14f7
Repository: https://github.com/packtpublishing/hands-on-systems-programming-with-go.git
Documentation: pkg.go.dev

# Functions

GetCommand returns the command with the given name.
Register adds the Command to the command list.
Shutdown executes shutdown for all commands.
Startup executes Startup for all commands.

# Variables

ErrDuplicateCommand is returned when two commands have the same name.

# Structs

Base is a basic Command that runs a closure.

# Interfaces

Command represents a terminal command.