[cli] 'murano package-create' optional paramter is required
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-muranoclient |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
1. Install murano pythonclient
2. Execute 'murano package-create --classes-dir Classes --resources-dir Resources -f somefqn --name nameofpackage
Actual result:
We get "'--ui' is required parameter", but if we execute 'murano help package-create', we get the following message:
user@ubuntu:
usage: murano package-create [-t <HEAT_TEMPLATE>] [-c <CLASSES_
Create an application package.
Optional arguments:
-t <HEAT_TEMPLATE>, --template <HEAT_TEMPLATE>
-c <CLASSES_
-r <RESOURCES_
-n <DISPLAY_NAME>, --name <DISPLAY_NAME>
-f <full-name>, --full-name <full-name>
-a <AUTHOR>, --author <AUTHOR>
--tags [<TAG1 TAG2> [<TAG1 TAG2> ...]]
-d <DESCRIPTION>, --description <DESCRIPTION>
-o <PACKAGE_NAME>, --output <PACKAGE_NAME>
-u <UI_DEFINITION>, --ui <UI_DEFINITION>
--type TYPE Package type. Possible values: Application or Library
-l <LOGO>, --logo <LOGO>
Where '--ui' is a optional parameter
Changed in murano: | |
importance: | Undecided → Low |
no longer affects: | murano |
Changed in python-muranoclient: | |
milestone: | none → 0.5.6 |
This is an expected behavior. This parameter became required only with regular type of package. Since we don't know in advance, what package type will be created - this parameter is displayed as optional