@doc2/cli
v2.10.0
Published
The doc2 CLI allows developers to build faster web experiences with https://doc2.site
Maintainers
Readme
doc2 Command Line Interface (CLI)
The doc2 CLI allows developers to build faster web experiences with https://doc2.site.
Installation
Install the CLI as a global command. You need Node LTS (18.x) or newer.
$ npm install -g @doc2/cliQuick Start
_ ____ ____ _ ___
__| | ___ ___|___ \ / ___| | |_ _|
/ _` |/ _ \ / __| __) | | | | | | |
| (_| | (_) | (__ / __/ | |___| |___ | |
\__,_|\___/ \___|_____| \____|_____|___|
Usage: doc2 [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
live --dev Run a doc2.live development server
email --dev Run a doc2.email development server
help [command] display help for command
Starting doc2.live development
$ cd <doc2-project>
$ doc2 live --devStarting doc2.email development
$ cd <doc2-project>
$ doc2 email --dev