File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
20313. Run commands
2132
2233` ` ` bash
2334lets 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:
4461This 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)**:
You can’t perform that action at this time.
0 commit comments