@tbuglc/midas-cli
v1.0.2
Published
Midas File Generator
Downloads
659
Readme
Install
sudo npm link
Requirement
Interface definition is needed before running the command.
Notes
- The skaffold will
git commit
your changes straight after generating. - Validations are empty
- You'll need to manually register routes under
routes/index.js
Usage
- Move to project director: midas-[project]
- Run this command below
midas-cli
Skaffold Docs
- 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
If the interface differs with entity name, e.g entity:
company config
and interface:IConfig
, reply with:y
and type interface name. Otherwise, typeN
to skip interface name which will result to interface name:ICompanyConfig
fromcompany config
entity name.Select layers with a
space
and hitenter
to validate