Feature: CLI help screen updates #344
Labels
No labels
bug
confirmed
critical
discussion
documentation
Doing
enhancement
experiment
suggestion
support
Testing
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/framework#344
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem Statement
The Hazaar CLI framework allows developers to build CLI tools with a module/command structure. While help screens work correctly when using explicit
help
commands (e.g.,toolname help module command
), running incomplete commands liketoolname module
results in an error. This is confusing for users and inconsistent with common CLI UX practices. Additionally, when a module command is invoked without required options, the CLI throws an error without showing relevant help, which reduces usability.Who will benefit?
Benefits and risks
Benefits:
Risks:
Proposed solution
toolname module
without specifying a command:toolname module command
but omits required options:Examples
Current behavior:
Proposed behavior:
Current behavior:
Proposed behavior:
Priority/Severity
assigned to @jamie
created branch
344-feature-cli-help-screen-updates
to address this issuementioned in merge request !236
mentioned in commit
c7828f262d