modulepackage
0.0.0-20220927142423-6ed38a2ef901
Repository: https://github.com/ungerik/go-command.git
Documentation: pkg.go.dev
# README
go-commands
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LogTo calls logger.Printf(fmt.Sprintln(results...)).
LogWithPrefixTo calls logger.Printf(fmt.Sprintln(results...)) with prefix prepended to the results.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PrintlnTo calls fmt.Fprintln on writer for every result.
PrintlnWithPrefix calls fmt.Println(prefix, result) for every result value.
PrintlnWithPrefixTo calls fmt.Fprintln(writer, prefix, result) for every result value.
PrintTo calls fmt.Fprint on writer with the result values as varidic arguments.
# Variables
No description provided by the author
No description provided by the author
CommandDescriptionColor is the color in which the command usage description will be printed on the screen.
CommandUsageColor is the color in which the command usage will be printed on the screen.
Println calls fmt.Println for every result.
TimeFormats used in that order to try parse time strings.
No description provided by the author
# Structs
No description provided by the author
ArgsDef implements Args.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
Logger interface.
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PrintlnText prints a fixed string if a command returns without an error.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author