@marklet/cli
A command line interface for marklet.
Last updated 2 years ago by shigma .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @marklet/cli 
SYNC missed versions from official npm registry.

@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)

Current Tags

  • 2.0.2                                ...           latest (2 years ago)

25 Versions

  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.1.16                                ...           2 years ago
  • 1.1.15                                ...           2 years ago
  • 1.1.14                                ...           2 years ago
  • 1.1.13                                ...           2 years ago
  • 1.1.12                                ...           2 years ago
  • 1.1.11                                ...           2 years ago
  • 1.1.10                                ...           2 years ago
  • 1.1.9                                ...           2 years ago
  • 1.1.8                                ...           2 years ago
  • 1.1.7                                ...           2 years ago
  • 1.1.6                                ...           2 years ago
  • 1.1.5                                ...           2 years ago
  • 1.1.4                                ...           2 years ago
  • 1.1.3                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 1
Dependencies (6)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |