ohayolibs
Version:
Ohayo is a set of essential modules for ohayojp.
58 lines (52 loc) • 1.16 kB
Markdown
order: 90
title: Default parameter
type: Documents
ohayojp provides a number of build modules, page templates, which have same option parameters, such as: `spec` for generating test pages, `flat` for flat directories, `inline-template` for inline template, etc.
However, parameters can be preset via `angular.json`.
```json
// angular.json
{
"schematics": {
"ohayojp:module": {
"routing": true,
"spec": false
},
"ohayojp:list": {
"spec": false
},
"ohayojp:edit": {
"spec": false,
"modal": true
},
"ohayojp:view": {
"spec": false,
"modal": true
},
"ohayojp:curd": {
"spec": false
},
"@schematics/angular:module": {
"routing": true,
"spec": false
},
"@schematics/angular:component": {
"spec": false,
"flat": false,
"inlineStyle": true,
"inlineTemplate": false
},
"@schematics/angular:directive": {
"spec": false
},
"@schematics/angular:service": {
"spec": false
}
}
}
```
You can execute the following command to get the parameter description:
```bash
ng g ohayojp:list --help
```