mnaddon
v1.0.3
Published
A helper for mnaddon development
Downloads
2
Readme
Usage
⚠️ Only support Mac and Marginnote for Mac must be installed.
Install First
npm i mnaddon -g
# Or Yarn
yarn add mnaddon -g
# Or Pnpm
pnpm add mnaddon -g
Then
You can use mnaddon help
or mnaddon help restart
to get more information.
Usage: mnaddon command [options]
$ mnaddon create template
$ mnaddon resize ./logo.png -o new
$ mnaddon watch
$ mnaddon restart
$ mnaddon dev
$ mnaddon build
$ mnaddon 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
License
MIT ©