Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Feb 10, 2024
1 parent b0a33ca commit a7d6b72
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,17 @@ Upon initialization of Qrepo project, it will generate something like this below
...
```

Whence you can run it with `qrepo run test` and it will execute the `echo No test specified` to your shell.
Whence you can run it with `qrepo run test` and it will execute the `echo No test specified` to your shell. You can also pass arguments by adding numbered `{{}}`, such as:

```json
...
"scripts": {
"print": ["echo {{1}}"]
}
...
```

Hence, you can invoke it by `qrepo run print "Hello, world!"`.

To make a script command for different operating systems and architectures, you can do something like:

Expand Down

0 comments on commit a7d6b72

Please sign in to comment.