Overview
CLI
After installing the htmldocs package, you can start using the command line interface (CLI).
init
Initializes a new htmldocs project in the current directory.
login
Authenticates the CLI with the cloud. This allows you to publish your documents to the cloud.
dev
Starts a local development server that will watch your files and automatically rebuild your document template when you make changes. Login not required.
Options
Change the directory of your document templates.
Port to run dev server on
publish <file>
Publishes the document to the cloud for API use. Must be authenticated.
Be sure to run this from the root of your project.
Options
The file path of the document to publish.
--help
Shows all available commands and options.
Options
Enable verbose logging
F.A.Q