Fusion Framework CLI

install
install from your favorite package manger
App
commands relative to working with applications
app.config
the cli will look for a app.config.{ts,js,json}
which will be provided to the configuration step of the application
export type AppConfig = {
environment?: Record<string, unknown>;
};
app.manifest
the cli will look for a app.manifest.config.{ts,js,json}
which will be provided to the configuration step oas manifest
app.vite
the cli will look for a app.vite.config.{ts,js,json}
Vite Configuration
dev
develop an application (with Vite and generic Fusion portal)
fusion-framework-cli app dev --help
build
builds application
only source files are included, the dev-port is not bundled.
fusion-framework-cli app build --help
manifest
generate manifest
fusion-framework-cli app manifest --help
config
generate application config
fusion-framework-cli app manifest --help
example
fusion-framework-cli app config -o my-app.config.json
fdev portal config -e ci -k my-app --config-file my-app.config.json set
pack
bundle application, generate manifest and zip output
fusion-framework-cli app pack --help
example
fusion-framework-cli app pack
fdev portal upload -e ci -k my-app dist/app-bundle.zip