1.0.1 • Published 2 years ago
mnaddon-lite v1.0.1
Usage
⚠️ Folders are not supported in a lite mnaddon projects.
⚠️ Support Mac only and Marginnote for Mac must be installed.
Install First
npm i mnaddon-lite -g # Or Yarn yarn add mnaddon-lite -g # Or Pnpm pnpm add mnaddon-lite -g
Then
Usage: mnaddon-lite command [options]
$ mnaddon-lite create template
$ mnaddon-lite resize ./logo.png -o new
$ mnaddon-lite watch
$ mnaddon-lite restart
$ mnaddon-lite dev
$ mnaddon-lite build
$ mnaddon-lite 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