Skip to content

Commit 3aa1602

Browse files
committed
Minor tweaks
1 parent 7fff1db commit 3aa1602

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

docs/manual/fknode-yaml.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -195,16 +195,16 @@ someCmd:
195195
- <powershell -c 'echo foo'
196196
```
197197

198-
They're an array of special strings / objects with a special prefix indicating type of cmd. Cmd type prefixes are:
198+
They're an array of special strings / objects with a special prefix indicating type of Cmd. The type modifies the command by prefixing it before execution. Cmd type prefixes are:
199199

200-
| Cmd type prefix | Cmd type | Description |
200+
| Cmd type prefix | Cmd type | Behavior |
201201
| :--- | :--- | ---: |
202-
| `~` | **SHELL SCRIPT** | Auto-prefixed with `powershell -c` on Windows and `bash -c` on macOS/Linux. Can be any command your shell recognizes. |
203-
| `$` | **PROJECT SCRIPT** | Auto-prefixed with your runtime’s script run prefix (e.g. `npm run`, `deno task`). Can be any script your project has. |
204-
| `=` | **PROJECT FILE** | Auto-prefixed with your runtime’s file run prefix. Should start with the path to a file, followed by any args you wish to pass. |
205-
| `<` | **RAW EXEC** | Not auto-prefixed. Use this for manually invoking other programs. |
202+
| `~` | **SHELL SCRIPT** | Auto-prefixes with `powershell -c` on Windows and `bash -c` on macOS/Linux. |
203+
| `$` | **PROJECT SCRIPT** | Auto-prefixes with your runtime’s script run prefix (e.g. `npm run`, `deno task`). |
204+
| `=` | **PROJECT FILE** | Auto-prefixes with your runtime’s file run prefix. |
205+
| `<` | **RAW EXEC** | Doesn't auto-prefix. Use this for manually invoking other programs. |
206206

207-
For cross-platform scripting, you can use a `{ msft: cmd, posix: cmd }`, where MSFT runs on Windows and POSIX runs on macOS and Linux. Each Cmd needs to be prefixed. FuckingNode won't check if they're a different Cmd type whatsoever.
207+
For cross-platform scripting, you can use a `{ msft: Cmd, posix: Cmd }`, where MSFT runs on Windows and POSIX runs on macOS and Linux. Each Cmd needs to be prefixed. FuckingNode won't check if they're a different Cmd type whatsoever.
208208

209209
It's something like this:
210210

@@ -216,7 +216,7 @@ Info:
216216

217217
- All commands run in order and block each other.
218218
- Colons are not required, but double colons are accepted. `~foo` is equal to `~"foo"`.
219-
- Output of commands is not live. This means, if a command writes to the stdout step by step, you won't see it until it ends execution.
219+
- Cmd output is not live, meaning if a command writes to the stdout step by step, you won't see that until it ends execution.
220220

221221
You can use CmdSets for the following project settings:
222222

0 commit comments

Comments
 (0)