@codotype/cli
CLI for development with codotype.io
Last updated 2 months ago by aeksco .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @codotype/cli 
SYNC missed versions from official npm registry.

codotype-cli

:hammer_and_wrench: CLI for development with codotype.io

Installation:

npm install -g @codotype/cli

Usage:

  • codotype run

The codotype run executes a generator with a single blueprint as it's argument. The command must be used inside a generator's root directory. Example:

codotype run ./path_to_blueprint --config ./path_to_config
  • codotype doctor

The codotype doctor validates a generator's metadata and structure. The command must be used inside a generator's root directory. It's particularly helpful while developing or updating generators.

  • codotype serve

The codotype serve serves a web UI and API for a standalone generator. The command must be used inside a generator's root directory.

  • codotype build

The codotype build builds a production-ready pre-rendered UI for a standalone generator. The command must be used inside a generator's root directory.

Future commands

  • codotype generator register/add PATH_TO_GENERATOR - registers a generator in the local registry
  • codotype generator new - create a new generator (opens up generator editor in browser window)
  • codotype generator serve - serves a small webapp that exposes a generator via the Web UI
  • codotype blueprint ls - lists all Blueprints in global registry
  • codotype blueprint new - opens up a Blueprint editor in a browser window, stores the result in the global registry
  • codotype blueprint add PATH_TO_BLUEPRINT - adds a single blueprint JSON file to global registry
  • codotype blueprint rm BLUEPRINT_NAME - removes a single blueprint from the global registry
  • Serve local Next.js server
  • Build CodotypeGenerator.json from src/index.ts or src/generator.ts (or something similar)

TODOs

  • Add global registry for JSON blueprints

Current Tags

  • 0.8.0-canary.13                                ...           latest (a month ago)

15 Versions

  • 0.8.0-canary.13                                ...           a month ago
  • 0.8.0-canary.12                                ...           a month ago
  • 0.8.0-canary.11                                ...           2 months ago
  • 0.8.0-canary.10                                ...           2 months ago
  • 0.8.0-canary.9                                ...           2 months ago
  • 0.8.0-canary.8                                ...           2 months ago
  • 0.8.0-canary.7                                ...           2 months ago
  • 0.8.0-canary.6                                ...           2 months ago
  • 0.8.0-canary.5                                ...           2 months ago
  • 0.8.0-canary.4                                ...           2 months ago
  • 0.8.0-canary.3                                ...           2 months ago
  • 0.8.0-canary.2                                ...           2 months ago
  • 0.8.0-canary.1                                ...           2 months ago
  • 0.2.0                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 26
Dependencies (17)
Dev Dependencies (14)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |