@marklet/cli
v2.0.2
Published
A command line interface for marklet.
Downloads
15
Readme
@marklet/cli
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)