cumulocity-tools
v2.1.24
Published
Tools to work with cumulocity UI.
Downloads
13
Readme
UI developer command line tools
Usage
c8y [options] [command]
Options
-V, --version output the version number
-s, --searchSibling [siblingsPath] Load application manifests and plugins from sibling folders. A specific path supporting globs can also be used.
-b, --buildPath <buildPath> The file system path to load a build from
-t, --target <target> The target file to be used. Can be either a relative file path to json. Or a the name of the target to be read at ./targets/<target>.json
-u, --url <url> The url of the remote instance.
-h, --help output usage information
Commands
server [options] Run local development server
install [package] Install a Cumulocity UI package using npm.
create:plugin <pluginName> Create plugin folder with a manifest inside
create:app <appName> Creates a new json manifest file for the app
build:plugin <pluginContextPath> [outputDir] Build the specified plugin and create a zip file
build:app [appContextPath] [outputDir] Build the specified app and create a zip file. If appContextPath if ommited it will read the contextPath of the json manifest file.
build:target <targetNameOrFilePath> [outputDir] Assembles all the apps for the specified target file
deploy:app [options] [appContextPath] Deploy the app with the specified contextPath. If appContextPath is ommited it will read the contextPath of the json manifest file.
deploy:target [options] [targetNameOrFilePath] Deploy all the apps specified in the target file
locale:extract [outputDir] Extract all the strings for translation and outputs the .po files to defined folder.
locale:update <poFilesPath> Reads translation (.po) from the specifed <poFilesPath> and updates all the plugins with the available information.
util:showimports <appContextPath> List the lists of imports for a specific application