Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 820 Bytes

File metadata and controls

32 lines (20 loc) · 820 Bytes

JS Paint CLI

JS Paint provides a command line interface (CLI) for opening the desktop app.

Installation

The command jspaint is installed automatically when you install the desktop app on Windows.

On other platforms, you need to edit .bashrc or similar, depending on your shell, to add a line that extends the PATH environment variable.

For example (this is a fake path):

export PATH="$PATH:/path/to/jspaint/bin"

Then source ~/.bashrc or restart your terminal to access the jspaint command.

Usage

usage: jspaint [-h] [-v] [file_path]

MS Paint in JavaScript, running in Electron.

positional arguments:
  file_path      Image file to open

optional arguments:
  -h, --help     show this help message and exit
  -v, --version  show program's version number and exit