Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface { Args() []string // Get the list of arguments passed to the program Stdin() io.Reader // Get the standard input stream Stdout() io.Writer // Get the standard output stream Stderr() io.Writer // Get the error output stream Exit(int) // Exit the program with a specific status code }
Context interface for handling command-line arguments and standard input/output streams
Click to show internal directories.
Click to hide internal directories.