[cli] Fix: Use dashes in ui validate flag#69
[cli] Fix: Use dashes in ui validate flag#69SamiSousa wants to merge 1 commit intooperator-framework:masterfrom
Conversation
|
@SamiSousa So I see the appeal of making this change, but my concern is that this is already in the wild and being used. Making a breaking change like this has to be a major version bump, but I'm not sure this change is a good enough reason to introduce breaking changes to the cli. |
|
I suggest: parser.add_argument(
'--ui-validate-io',
dest='ui_validate_io',
help='Validate bundle for operatorhub.io UI',
action='store_true')
parser.add_argument(
# DEPRECATED; BW compatibility
'--ui_validate_io',
dest='ui_validate_io'
help=argparse.SUPPRESS,
action='store_true') |
Great suggestion. @SamiSousa Can you update your pr this way? |
4f76e54 to
113fea7
Compare
|
Thanks @MartinBasti ! Applied your suggestion, please take a look |
|
@SamiSousa Looks like the tests failed. |
|
Coverage decreased under a failure threshold because commit added a new line. |
113fea7 to
17a6eb9
Compare
|
@MartinBasti Removed a newline based on your comment. |
|
@SamiSousa oh sorry, I meant new line from code execution POW, not one line literally. :) You have add tests or lower coverage limit. |
565666f to
6ac2c5d
Compare
|
@kevinrizza @JEREMYLINLIN If there's an interest in this change, let me know so I can rebase. Otherwise, I'll close this PR. |
|
@SamiSousa Feel free to update, it looks like a good change. once you do please @ me and Wenlin so we can review again |
- Add ui-validate-io flag with dashes - Add comment to ui_validate_io as deprecated This follows the conventions set by other CLI tools
6ac2c5d to
db0a653
Compare
|
@kevinrizza @JEREMYLINLIN Rebased based on latest master, please take a look 🙂 |
This follows the conventions set by other CLI tools
Replaces part of #65