The CLI tool for creating and managing Zodyac projects.
Please refer to the Zodyac documentation for more information.
Warning
This version CLI is currently in beta and is not yet ready for production use. For now it supports only the creation of new projects, generation of modules, serving, building and watching.
npm install -g @zodyac/cli
zy --help
Initializes a new Zodyac project in the current directory.
Generates a package.json
file and installs the latest version of Zodyac.
Options:
-p, --project <name>
: The name of the project.-r, --router
: Whether to generate a router module.--skip-eslint
: Skips the installation of ESLint.--skip-git
: Skips Git initialization.--skip-docker
: Skips creating Dockerfile.
Serves the current Zodyac project.
Builds the current Zodyac project.
Watches the current Zodyac project for changes and checks for errors.
Generates a new Zodyac module.
Options:
type
: The type of module to generate. Can be one ofmodule
,,router
,service
ormodel
.crud
name
: The name of the module/router to generate.
Note: Only
module
androuter
are currently supported.
Adds an extention to the current project. You can add:
express
: Adds Express.js API Engine.eslint
: AddsESLint
and configuration.git
: InitializesGit
repository and.gitignore
.docker
: CreatesDockerfile
and.dockerignore
.
MIT