0.0.1 • Published 2 years ago

ohmymn v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Usage

⚠️ Folders are not supported in a lite mnaddon projects.

⚠️ Only support Mac 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

You can use mnaddon-lite help or mnaddon-lite help restart to get more information.

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

License

MIT