Skip to content

Commit cfe3318

Browse files
Add flags ti run command page
1 parent 95cd612 commit cfe3318

File tree

1 file changed

+18
-1
lines changed
  • docs/user-guide/leverage-cli/reference

1 file changed

+18
-1
lines changed

Diff for: docs/user-guide/leverage-cli/reference/run.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,21 @@ leverage run task1 task2[arg1,arg2] task3[arg1,kwarg1=val1,kwarg2=val2]
2222

2323
* `task2` receives two positional arguments `arg1` and `arg2`
2424

25-
* `task3` receives one positional argument `arg1` and two keyworded arguments `kwarg1` with value `val1` and `kwarg2` with value `val2`
25+
* `task3` receives one positional argument `arg1` and two keyworded arguments `kwarg1` with value `val1` and `kwarg2` with value `val2`
26+
27+
### Options
28+
* `-f` | `--filename`: Name of the file containing the tasks' definition. Defaults to `build.py`
29+
* `-l` | `--list-tasks`: List all the tasks defined for the project along a description of their purpose (when available).
30+
```
31+
Tasks in build file `build.py`:
32+
33+
clean Clean build directory.
34+
copy_file
35+
echo
36+
html Generate HTML.
37+
images [Ignored] Prepare images.
38+
start_server [Default] Start the server
39+
stop_server
40+
41+
Powered by Leverage 1.13.0
42+
```

0 commit comments

Comments
 (0)