mirror of
https://github.com/onyx-and-iris/vmrcli.git
synced 2026-04-08 09:53:32 +00:00
add -I flag for disabling >> on the interactive prompt
return early from parse_input() if input is a comment add comments to example_commands.txt upd README. minor ver bump
This commit is contained in:
@@ -13,13 +13,14 @@
|
||||
## `Use`
|
||||
|
||||
```powershell
|
||||
.\vmrcli.exe [-h] [-i] [-k] [-D] [-v] [-c] [-m] [-s] <api commands>
|
||||
.\vmrcli.exe [-h] [-i|-I] [-k] [-D] [-v] [-c] [-m] [-s] <api commands>
|
||||
```
|
||||
|
||||
Where:
|
||||
|
||||
- `h`: Prints the help message.
|
||||
- `i`: Enable interactive mode. If set, any api commands passed on the command line will be ignored.
|
||||
- `i`: Enable interactive mode, use (-I) to disable the '>>' prompt.
|
||||
- If set, any api commands passed on the command line will be ignored.
|
||||
- `k`: The kind of Voicemeeter (basic, banana or potato). Use this to launch the GUI.
|
||||
- `D`: Set log level 0=TRACE, 1=DEBUG, 2=INFO, 3=WARN, 4=ERROR, 5=FATAL
|
||||
- `v`: Enable extra console output (toggle, set messages)
|
||||
@@ -75,11 +76,13 @@ Scripts can be loaded from text files, for example in Powershell:
|
||||
You may also pipe a scripts contents to the CLI:
|
||||
|
||||
```powershell
|
||||
$(Get-Content .\example_commands.txt) | .\vmrcli.exe -D1 -i
|
||||
$(Get-Content .\example_commands.txt) | .\vmrcli.exe -D1 -I
|
||||
```
|
||||
|
||||
Multiple API commands can be in a single line, they may be separated by space, `;` or `,`.
|
||||
|
||||
Lines starting with `#` will be interpreted as comments.
|
||||
|
||||
## `Build`
|
||||
|
||||
Run the included `makefile` with [GNU Make](https://www.gnu.org/software/make/).
|
||||
|
||||
Reference in New Issue
Block a user