Skip to main content

getCliConfiguration

@webda/core


Function: getCliConfiguration()

getCliConfiguration(app): WebdaCliDescriptor

Defined in: packages/core/src/services/servicecommands.ts:51

Read the application command-line configuration, the webda.cli section of its package.json

Parameters​

app​

Pick<Application, "getPackageDescription">

the loaded application

Returns​

WebdaCliDescriptor

the configuration, undefined when the package declares none