egg-pig cli
npm install -g egg-pig-cli
pig [command] [...options]
Option | Description | Required |
---|---|---|
type | file type | true |
name | file name | true |
path | path | false |
A list of available architecture components:
Example usage
pig generate controller user
pig g co user