-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Apply correct handling of undefined optional args in CLI
- This commit demonstrates the change in `cli.admin.domain` first - Change some confusing boolean flags to use the full argument name only. (e.g., "-p" -> "--private") - When modifying/updating, we should make the boolean flags as a tri-state option (set to true / set to false / unchanged). To handle this, I've introduced `cli.params.BoolExprType` which can be combined tih `cli.params.OptionalType` - Extend `cli.params.BoolExprType` to handle `types.undefined`.
- Loading branch information
Showing
4 changed files
with
189 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.