2.0.2 • Published 6 years ago

@marklet/cli v2.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

@marklet/cli

Build Status dependency npm npm bundle size (minified)

A command line interface for marklet.

Usage: marklet [options] [command]

A command line interface for marklet.

Options:
  -v, --version                       output the version number
  -h, --help                          output usage information

Commands:
  parse [options] [filepath]          Parse a marklet file into marklet AST.
  edit [options] [filepath|dirpath]   Edit a marklet file or project.
  watch [options] [filepath|dirpath]  Watch a marklet file or project.

General options

config options

  -l, --language [lang]  default language in codeblocks (default: "")
  -H, --no-header-align  disable header to align at center
  -S, --no-section       disallow section syntax

server options

  -o, --open             open in the default browser
  -p, --port [port]      port for the development server (default: 10826)

CLI Commands

parse

Usage: marklet parse [options] <filepath>

Parse a marklet file into marklet AST.

Options:
  (support config options)
  -f, --format [format]  the output format (default: "json")

edit

Usage: marklet edit [options] [filepath|dirpath]

Edit a marklet file or project.

Options:
  (support config options)
  (support server options)

watch

Usage: marklet watch [options] [filepath|dirpath]

Watch a marklet file or project.

Options:
  (support config options)
  (support server options)
2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.1.16

6 years ago

1.1.15

6 years ago

1.1.14

6 years ago

1.1.13

6 years ago

1.1.12

6 years ago

1.1.11

6 years ago

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago