cmd

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2017 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Overview

Package cmd is the cobra file that enables subcommands and handles command-line args

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 either directly add commands you want to run to the queue:
$ wr add

Or you define a workflow that works out the commands for you:
Create a workflow with:                           $ wr create
Define a datasource with:                         $ wr datasource
Set up an instance of workflow + datasource with: $ wr setup
[create, datasource and setup commands are not yet implemented; just use add for
now]

At this point your commands should be running, and you can monitor their
progress with:
$ wr status

Finally, you can find your output files with:
$ wr outputs`,
}

RootCmd represents the base command when called without any subcommands.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL