Skip to content

Commit 11cca64

Browse files
authored
List known cli.command values (#1295)
See cap/issues#16156
1 parent d5e6404 commit 11cca64

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

node.js/cds-facade.md

+3
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ Trace : {
178178

179179
For example, [`cds-plugins`](cds-serve) can use that to plug into different parts of the framework for different commands being executed.
180180

181+
Known values for `cds.cli.command` are `add`, `build`, `compile`, `deploy`, `import`, `init`, `serve`.
182+
`cds watch` is normalized to `serve`.
183+
181184
### cds. entities {.property}
182185

183186
Is a shortcut to `cds.db.entities`. Used as a function, you can [specify a namespace](/node.js/cds-reflect#entities).

0 commit comments

Comments
 (0)