Make a graph depend on what command line options was inputed.
Parameters: |
|
---|
Check for dot command, but only if command line wanted graph.
Parameters: | args – Command line args created by OptParser. |
---|---|
Returns: | True if command line setted the graph argument and there is a dot command. |
Append provided (or actual cwd if not provided) path to python path.
Parametr cwd: | path which will be appended |
---|
Run tasks from imported mkfile with command line arguments.
Parameters: |
|
---|---|
Returns: | Text representing what have been done: * ‘list all’ - printed list of all tasks * ‘run tasks’ - run inputed task * ‘do graph of all’ - made graph of all tasks * ‘run default’ - run default task |
Main function of the program. Parse command line args and do the task provided. More info 3. Command line or with inputing “pymk -h”.
Returns: |
|
---|