Documentation ¶
Overview ¶
Package cmd implements wr's command line interface.
It is implemented using cobra, so see github.com/spf13/cobra for details. On top of cobra we use our own config system; see internal/config.go.
cmd/root.go contains general utility functions for use by any of the sub command implementations. It also give the help text you see when you run `wr` by itself.
Each wr sub-command (eg. 'add' or 'manager') is implemented in its own .go file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "wr",
Short: "wr is a software workflow management system.",
Long: `wr is a software workflow management system and command runner.
You use it to run the same sequence of commands (a "workflow") on many different
input files (which comprise a "datasource").
Initially, you start the management system, which maintains a queue of the
commands you want to run:
$ wr manager start
Then you add commands you want to run to the queue:
$ wr add
At this point your commands should be running, and you can monitor their
progress with:
$ wr status`,
}
RootCmd represents the base command when called without any subcommands.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.