This commit is contained in:
Andrey Nering
2017-09-07 14:40:54 -03:00
parent 0160f5dd30
commit 95f7b9443f
3 changed files with 15 additions and 3 deletions

View File

@@ -8,9 +8,11 @@ import (
)
var (
// ErrVariableWithoutTask is returned when variables are given before any task
ErrVariableWithoutTask = errors.New("task: variable given before any task")
)
// Parse parses command line argument: tasks and vars of each task
func Parse(args ...string) ([]task.Call, error) {
var calls []task.Call