feat: v1.0.0
This commit is contained in:
32
src/script.help.rust.txt
Normal file
32
src/script.help.rust.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
runrs v{CARGO_PKG_VERSION} - {CARGO_PKG_DESCRIPTION}
|
||||
|
||||
Show help:
|
||||
$ runrs -h|--help
|
||||
|
||||
Show template:
|
||||
$ runrs -t|--template [--output script.rs]
|
||||
|
||||
Show scriptions:
|
||||
$ runrs -l|--list
|
||||
|
||||
Install script:
|
||||
$ runrs -i|--install <script.rs>
|
||||
|
||||
Run script:
|
||||
$ runrs <script.rs> [arguments]
|
||||
|
||||
Binaries dir:
|
||||
~/Library/Caches/rust-script/binaries/release/
|
||||
|
||||
Environment variables:
|
||||
┌──────────────────────┬────────────────────────────────────────────────┐
|
||||
│ Variable │ Description │
|
||||
├──────────────────────┼────────────────────────────────────────────────┤
|
||||
│ HOME │ User home, default from OS system │
|
||||
│ RUNRS_SKIP_CACHE │ Skip compiled cached file, `bool` │
|
||||
│ RUNRS_REBUILD │ Force rebuild, `bool` │
|
||||
│ RUNRS_SILENT_BUILD │ Build new binary in silent mode, `bool` │
|
||||
│ RUNRS_RUST_SCRIPT │ `rust_script` command line bin file │
|
||||
│ RUNRS_MAX_SCRIPT_LEN │ Max script length, default 1MB │
|
||||
└──────────────────────┴────────────────────────────────────────────────┘
|
||||
> Type `bool`: `true`, `yes`, `on` or `1` for true, otherwise false
|
||||
Reference in New Issue
Block a user