PDI-2056: Add Defaults to Usage Output#18
Conversation
- Update all PFlag structs to remove DefValue and manually add default information to Usage field. - Also remove config command logic.
…rsing flag variable type in PFlag
|
Potential problem: This probably needs something to remove |
|
Is there a possibility of removing the |
This is simply a validation step on pingcli startup. It informs the user that their config file is using a config key that is not recognized/does not exist. While this is a breaking change, since this is before beta, I think this is fine to add in without additional migration logic. |
This is possible, but it will remove a subtlety here. For example in the following niche case, if a user specifies '--profile A' to output tool responses as json, but the user wants to modify --profile-name B, this would no longer be possible without additionally using the --output-format flag. Since this is niche, I don't think there is an issue removing this capability. |
I didn't consider that case, good spot. I agree it is niche though, let's flatten to |
Edit: alpha users were using PingCTL - this wouldn't be in issue |
Uh oh!
There was an error while loading. Please reload this page.