1.0.2 • Published 3 years ago

@tbuglc/midas-cli v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Install

sudo npm link

Requirement

Interface definition is needed before running the command.

Notes

  1. The skaffold will git commit your changes straight after generating.
  2. Validations are empty
  3. You'll need to manually register routes under routes/index.js

Usage

  1. Move to project director: midas-project
  2. Run this command below
midas-cli

Skaffold Docs

  1. Entity name
  • A single entity with more than one word, e.g: company config
  • A single entity with one word, e.g: allowance
  • Multiple entities with a mix of single and multiple words, e.g: company config, allowance, bonus: company config
  1. If the interface differs with entity name, e.g entity: company config and interface: IConfig, reply with: y and type interface name. Otherwise, type N to skip interface name which will result to interface name: ICompanyConfig from company config entity name.

  2. Select layers with a space and hit enter to validate