Description of problem:
When the --chart-dir flag is not set for the mta-cli generate command, it displays an incorrect error message.
$ mta-cli generate helm --chart-dir --input /tmp/discovery.yaml --output-dir /tmp/deployment
Error: required flag(s) "input" not set
Version-Release number of selected component (if applicable):
$ mta-cli version
version: 7.3.0
SHA: 503b861109b34be42dcb362c805099d170790398
image: registry.redhat.io/mta/mta-cli-rhel9:7.3.0
How reproducible:
Always
Steps to Reproduce:
1.
2.
3.
Actual results:
Incorrect error message displayed when --chart-dir is not set for generate command
Expected results:
A more appropriate message such as this should be displayed.
Error: required flag(s) "chart-dir" not set
Additional info:
- links to
-
RHBA-2025:150153
Migration Toolkit for Applications bug fix and enhancement update