@ibm-wch-sdk/create-app
Creates a new Angular application for Watson Content Hub sites using the @ibm-wch-sdk/ng SDK.
Class documentation
Refer to the documentation.
Usage
Create your application by calling
npx @ibm-wch-sdk/create-app
or list the available parameters via
npx @ibm-wch-sdk/create-app --help
Videos
Create a new WCH application from the command line
Prepare your WCH tenant for application development
Home > @ibm-wch-sdk/create-app
create-app package
Functions
Function | Description |
---|---|
createProject(aArgs) | Analyzes the input parameters |
Variables
Variable | Description |
---|---|
VERSION | Exports the current version object |
Home > @ibm-wch-sdk/create-app > createProject
createProject() function
Analyzes the input parameters
Signature:
export declare function createProject(aArgs?: string[]): PromiseLike<string>;
Parameters
Parameter | Type | Description |
---|---|---|
aArgs | string[] |
optionally the command line arguments |
Returns:
PromiseLike<string>
a promise with the target directory
Home > @ibm-wch-sdk/create-app > VERSION
VERSION variable
Exports the current version object
Signature:
VERSION: import("@ibm-wch-sdk/api").WchSdkVersion