marktext/docs/CLI.md
2019-06-12 11:37:06 +08:00

24 lines
903 B
Markdown

# Command Line Interface
```
Usage: marktext [commands] [path ...]
Available commands:
--debug Enable debug mode
--safe Disable plugins and other user configuration
--dump-keyboard-layout Dump keyboard information
-n, --new-window Open a new window on second-instance
--user-data-dir Change the user data directory
--disable-gpu Disable GPU hardware acceleration
-v, --verbose Be verbose
--version Print version information
-h, --help Print this help message
```
`marktext` should point to your installation of Mark Text. The exact location will vary from platform to platform. On macOS, you can create a convenient alias like:
```sh
alias marktext="/Applications/Mark\ Text.app/Contents/MacOS/Mark\ Text"
```