@sap/cds-dk
Version:
Command line client and development toolkit for the SAP Cloud Application Programming Model
26 lines (17 loc) • 557 B
JavaScript
const serve = require ('./serve')
module.exports = Object.assign (
cds_run, serve, {help: `
*cds run* [<project>] [<options>]
Runs 'cds serve all' for the specified project. By default, <project> = cwd
is used.
- see _cds help serve_
Actually, *cds run* is just a convenient shortcut for:
*cds serve* [--project <project>] [<options>] ...
Check out *cds serve --help* to learn more.
`})
function cds_run (projects, options) {
return serve (projects,{ project:true, ...options })
}