Skip to content

Commit

Permalink
Merge pull request #74 from CaptnCodr/documentation
Browse files Browse the repository at this point in the history
Improve documentation
  • Loading branch information
CaptnCodr authored Oct 2, 2024
2 parents 987706c + 8a9c0a9 commit 47b4f39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ an example with `git`:
```fsharp
cli {
Exec "git"
Arguments ["commit"; "-m"; "Fixing issue #1337."]
Arguments ["commit"; "-m"; "\"Fixing issue #1337.\""]
}
|> Command.execute
```
Expand Down Expand Up @@ -220,7 +220,7 @@ cli { ... }
```

#### `Command.toString`
`Command.toString` concatenates only the the executing shell/program + the given commands/arguments:
`Command.toString` concatenates only the executing shell/program + the given commands/arguments:
```fsharp
cli {
Shell PS
Expand Down Expand Up @@ -271,7 +271,7 @@ cli {
| `CancelAfter` | `int` |

Currently provided `Fli.Shells`:
- `CMD` runs `cmd.exe /c ...` or `cmd.exe /k ...` (depends if `Input` is provided or not)
- `CMD` runs either `cmd.exe /c ...` or `cmd.exe /k ...` (if `Input` is provided)
- `PS` runs `powershell.exe -Command ...`
- `PWSH` runs `pwsh.exe -Command ...`
- `WSL` runs `wsl.exe -- ...`
Expand Down

0 comments on commit 47b4f39

Please sign in to comment.