Documentation ¶
Overview ¶
Package cmd contains the logic to setup Prototool with github.com/spf13/cobra.
The packages internal/cmd/prototool, internal/gen/gen-prototool-bash-completion, internal/gen/gen-prototool-manpages and internal/gen/gen-prototool-zsh-completion are main packages that call into this package, and this package calls into internal/exec to execute the logic.
This package also contains integration testing for Prototool.
Index ¶
- func Do(args []string, stdin io.Reader, stdout io.Writer, stderr io.Writer) int
- func GenBashCompletion(stdin io.Reader, stdout io.Writer, stderr io.Writer) int
- func GenManpages(args []string, stdin io.Reader, stdout io.Writer, stderr io.Writer) int
- func GenZshCompletion(stdin io.Reader, stdout io.Writer, stderr io.Writer) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenBashCompletion ¶
GenBashCompletion generates a bash completion file to the writer.
func GenManpages ¶
GenManpages generates the manpages to the given directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.