Documentation ¶
Overview ¶
Package cli organizes and implements a command line program.
Index ¶
- func Run(args []string) int
- type App
- func (app *App) CheckStatus(linkCh <-chan *Link) <-chan *Link
- func (app *App) Display(statusCh <-chan *Link, logger *slog.Logger)
- func (app *App) FileGen(files []string, logger *slog.Logger) chan *File
- func (app *App) LinkGen(upstream chan *File) chan *Link
- func (app *App) NoOp() bool
- func (app *App) ParseFlags(args []string) []string
- type File
- type Link
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
App stores information about the application's state.
func (*App) CheckStatus ¶
func (*App) ParseFlags ¶
ParseFlags handles flags and options in my finicky way.
Click to show internal directories.
Click to hide internal directories.