bachig26 / mochi-cli

A CLI to create and manage mochi repositories and sources.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@mochiapp/cli

An easy-to-use CLI for compiling and bundling Mochi modules.

npm (scoped) lint ci cd

Powered by esbuild logo

Requirements

You must have Node installed on your computer and the minimum version supported is v16.x.

Installation

For pnpm:

# Local cli
pnpm add -D @mochiapp/cli

# Or Global 
pnpm add -g @mochiapp/cli

For npm:

# Local cli
npm install --save-dev @mochiapp/cli

# Or Global 
npm install -g @mochiapp/cli

For yarn:

# Local cli
yarn add -D @mochiapp/cli

# Or Global 
yarn global add @mochiapp/cli

Usage

A cli tool used to build and bundle Mochi modules.

Options:
  -V, --version     output the version number
  -h, --help        display help for command

Commands:
  init [options]    initalize a new module from template
  check [options]   checks for errors in repository
  bundle [options]  bundles modules into a repository
  serve [options]   bundle and start local server for testing modules
  help [command]    display help for command

Contribute

You must use pnpm in order to make any changes. Once you've made changes, submit a pull request. Any contributions are welcome and appreciated :D

License

Licenced under MIT.

About

A CLI to create and manage mochi repositories and sources.

License:MIT License


Languages

Language:TypeScript 62.4%Language:EJS 29.2%Language:JavaScript 8.0%Language:Shell 0.4%