mnaddon

1.0.3 • Public • Published

.mnaddon Helper

A helper for mnaddon development

forks stars version license

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 © MarginNote

Readme

Keywords

none

Package Sidebar

Install

npm i mnaddon

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

16.9 kB

Total Files

7

Last publish

Collaborators

  • ourongxing