-
Improvement
-
Resolution: Unresolved
-
Neutral
-
None
-
3.0.7
-
None
Currently, create-app and create-content-type commands also create a same-name workspace:
mgnl create-content-type a
mgnl create-app a
/light-modules/foo/contentTypes/a.yaml
# Automatically generated contentType demonstrates usage of the common properties. # Modify them to match your requirements. datasource: workspace: a <...>
Improvement
For both commands, allow the user to set the name of the workspace, e.g. with a switch `-w`.
This will give the user more flexibility by linking up the newly created app/CT to an already existing workspace: e.g.
`mgnl create-app bookshelf-app-enterprise -w books`
Note
If the workspace already exists, the contenttypes system will work with it seamlessly.
- depends upon
-
NPMCLI-149 create-app and create-content-type commands
- Closed
- is caused by
-
NPMCLI-210 DOC: A tutorial showcasing creation of an app using the CLI create-app command
- Closed
- mentioned in
-
Page Loading...