Documentation ¶ Index ¶ func Execute() func Run(cmd *cobra.Command, args []string) error type Bind type Source func ParseSource(r io.Reader) ([]*Source, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Execute ¶ func Execute() Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd. func Run ¶ func Run(cmd *cobra.Command, args []string) error Types ¶ type Bind ¶ added in v0.0.2 type Bind struct { Cmd *exec.Cmd Prefix string } type Source ¶ type Source struct { Name string Command string } func ParseSource ¶ func ParseSource(r io.Reader) ([]*Source, error) Source Files ¶ View all Source files root.go run.go source.go Click to show internal directories. Click to hide internal directories.