mnaddon4
v1.2.6
Published
A helper for mnaddon development
Downloads
127
Readme
Usage
⚠️ Only support Mac and Marginnote4 for Mac must be installed.
Install First
sudo npm i mnaddon4 -gThen
You can use mnaddon4 help or mnaddon4 help restart to get more information.
Usage: mnaddon4 command [options]
$ mnaddon4 create template
$ mnaddon4 resize ./logo.png -o new
$ mnaddon4 watch
$ mnaddon4 restart
$ mnaddon4 dev
$ mnaddon4 build
$ mnaddon4 unpack ./template.mnaddon -o output
Options:
-v, --version output the current version
-h, --help display help for command
Commands:
create <project-name> create a simple mnaddon project
resize [options] <png-path> resize logo to 44x44, which is required by MarginNote
watch watch the file changes and copy changed file to the MarginNote extensition foler
restart [options] restart MarginNote and skip the unsign alert
dev open MarginNote and Console, and then watch file changes
build [output-name] build a mnaddon file
unpack [options] <mnaddon-path> unpack a mnaddon file
help [command] display help for command