Skip to content

Commit f8239d7

Browse files
committed
update readme
1 parent 242081b commit f8239d7

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,30 @@ commands:
1515
description: Echo text
1616
cmd: |
1717
echo "Hello"
18+
19+
run:
20+
description: Run some command
21+
options: |
22+
Usage: lets run [--debug] [--level=<level>]
23+
24+
Options:
25+
--debug, -d Run with debug
26+
--level=<level> Log level
27+
cmd: |
28+
env
1829
```
1930
2031
3. Run commands
2132
2233
```bash
2334
lets echo
2435
# will print Hello
36+
lets run --debug --level=info
37+
# will print
38+
# LETSOPT_DEBUG=true
39+
# LETSOPT_RUN=true
40+
# LETSOPT_LEVEL=info
41+
2542
```
2643

2744
## lets.yaml
@@ -44,7 +61,7 @@ commands:
4461
This will install `lets` binary to `/usr/local/bin` directory. But you can change install location to any directory you want
4562

4663
```bash
47-
curl -sfL https://raw.githubusercontent.com/kindritskyiMax/lets/master/install.sh | sudo sh -s -- -b /usr/local/bin
64+
sudo curl -sfL https://raw.githubusercontent.com/kindritskyiMax/lets/master/install.sh | sudo sh -s -- -b /usr/local/bin
4865
```
4966

5067
**Binary (Cross-platform)**:

0 commit comments

Comments
 (0)