From a7d6b72fed52956763dc50c292f2844e798ffc1c Mon Sep 17 00:00:00 2001 From: nthnn Date: Sat, 10 Feb 2024 18:46:50 +0800 Subject: [PATCH] Updated README.md --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e5eb17..2c03920 100644 --- a/README.md +++ b/README.md @@ -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: