This document contains the help content for the mochi-cli
command-line program.
Command Overview:
mochi-cli
↴mochi-cli init
↴mochi-cli init module
↴mochi-cli init repository
↴mochi-cli build
↴mochi-cli serve
↴
A CLI tool for managing mochi-based modules.
Usage: mochi-cli <COMMAND>
init
— Initializes a repository or modulebuild
— Builds repository from modulesserve
— Builds repository and starts a local server
Initializes a repository or module
Usage: mochi-cli init <COMMAND>
module
— Creates a module from a templaterepository
— Creates a repository from a template
Creates a module from a template
Usage: mochi-cli init module --name <NAME>
-n
,--name <NAME>
— Display name for the module
Creates a repository from a template
Usage: mochi-cli init repository [OPTIONS] --name <NAME> --author <AUTHOR>
--name <NAME>
— Display name for the repository--author <AUTHOR>
— Author of the repository--output <OUTPUT>
— Output path to the repository. By default it uses the cwd +/repository-name/
Builds repository from modules
Usage: mochi-cli build [OPTIONS]
-
--path <PATH>
— Path of workspace -
--output <OUTPUT>
— Output path for generated repository. For more info use--help
-
-s
,--site
— Include generated static site for repositoryDefault value:
false
Builds repository and starts a local server
Usage: mochi-cli serve [OPTIONS]
--port <PORT>
— The port to broadcast the repository (default is 10443)--output <OUTPUT>
— The repository output (default is "dist")
This document was generated automatically by
clap-markdown
.