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