mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-10 17:15:41 +02:00
stack: add exec command (#1816)
This commit is contained in:
parent
bc22384913
commit
a461957625
1 changed files with 4 additions and 0 deletions
|
@ -25,3 +25,7 @@
|
||||||
- Compile a project and execute a command after compilation:
|
- Compile a project and execute a command after compilation:
|
||||||
|
|
||||||
`stack build --exec "{{command}}"`
|
`stack build --exec "{{command}}"`
|
||||||
|
|
||||||
|
- Run a program and pass an argument to it:
|
||||||
|
|
||||||
|
`stack exec {{program_name}} -- {{argument}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue