- Clone the repository:
git clone https://github.com/borislavr/qubership-app-manifest-cli.git
cd qubership-app-manifest-cli- Create venv
python -m venv venv
source venv/bin/activate- Install dependencies:
pip install -r pyproject.toml- Install the package:
pip install .The generate command creates an application manifest based on a configuration file and, if needed, additional component files.
python -m venv venv
source venv/bin/activate
app-manifest generate --config CONFIG_PATH [--name NAME] [--version VERSION] [--out OUT_FILE] [COMPONENTS_FILES ...]--config,-c— path to a YAML/JSON configuration file (required).--name,-n— application name (defaults to value from config).--version,-v— application version (defaults to value from config).--out,-o— output file name (generated automatically by default).[COMPONENTS_FILES ...]— (optional) list of paths to JSON component files.
Minimal example:
python -m app_manifest_cli generate --config ./myapp-config.yamlWith name, version, and output file:
python -m app_manifest_cli generate --config ./myapp-config.yaml --name my-app --version 2.0.1 --out manifest.jsonWith additional component files:
python -m app_manifest_cli generate --config ./myapp-config.yaml comp1.json comp2.json- Working with Helm charts requires Helm to be installed.
- If name and version are not specified, they will be taken from the configuration file.
- If output file is not specified, it will be created automatically using the template
<name>-<version>.json.
For help on all commands:
python -m app_manifest_cli --helpFor help on generate:
python -m app_manifest_cli generate --help