## Bundle ```bash npm run ng -- generate bundle [--project=] [--strategy=] [--depth=] [--portal-protocol=] [--portal-host=] [--portal-port=] [--portal-context=] [--portal-version=] [--auth-type=] [--portal-username=] [--portal-password=] [--portal-auth-path=] [--ropc-identity-provider=] [--ropc-client-id=] [--ropc-scope=] [--ropc-client-secret=] [--model-files=] ```

Options

Option Description
--project=<project>

The name of the project.

--strategy=<single|per-spa|per-route>

The bundling strategy to use. Should be one of 'single', 'per-spa', or 'per-route'.

--depth=<depth>

For the per-route strategy only, how deep into the routing tree to split into bundles (defaults to max depth)

--portal-protocol=<portal-protocol>

Protocol of the URL identifying Backbase server

--portal-host=<portal-host>

Host name of the URL identifying Backbase server

--portal-port=<portal-port>

Port of the URL identifying Backbase server

--portal-context=<portal-context>

Application context of the Backbase server

--portal-version=<portal-version>

Portal version (5, 6, 6.1)

--auth-type=<auth-type>

The type of authentication mechanism to use. The default is 'basic' for legacy Backbase Authentication Services, using basic Auth. Use 'ropc' for Backbase Identity and Access Management (or other compatible Identity Provider. See the online Backbase Documentation for more details.

--portal-username=<portal-username>

Username

--portal-password=<portal-password>

Password

--portal-auth-path=<portal-auth-path>

Authorization path (for basic auth only)

--ropc-identity-provider=<ropc-identity-provider>

Full URL of the identity provider for ROPC auth

--ropc-client-id=<ropc-client-id>

A unique string that was used when registering the CLI as a client

--ropc-scope=<ropc-scope>

The scope of the access request

--ropc-client-secret=<ropc-client-secret>

Usually optional, a secret/password assigned to the client in the Identity Provider config when the CLI was registered as a client'

--model-files=<model-files>

comma seprated json files that contains page model