pack
Description
cmf pack is a package creator for the CM MES developments. It puts files and folders in place so that CM Deployment Framework is able to install them.
It is extremely configurable to support a variety of use cases. Most commonly, we use it to pack the developments of CM MES customizations.
Run cmf pack -h
to get a list of available arguments and options.
Important
cmf pack comes with preconfigured Steps per PackageType to run during the installation. This pre defined steps are assuming a restrict structure during the installation, this can be disabled using the flag isToSetDefaultSteps:false
in your cmfpackage.json
.
How it works
When the cmf pack is executed it will search in the working directory, for a cmfpackage.json
file, that then is serialized to the CmfPackage this will guarantee that the cmfpackage.json
has all the valid and needed fields. Then it will get which is the PackageType, and based on that will generate the package.
Usage
cmf pack [options] [<workingDir>]
Arguments
Name | Description |
---|---|
<workingDir> |
Working Directory [default: .] |
Options
Name | Description |
---|---|
-o, --outputDir <outputDir> |
Output directory for created package [default: Package] |
-f, --force |
Overwrite all packages even if they already exists |
-?, -h, --help |
Show help and usage information |