Pre-parse command arguments based on type #41
Labels
No Label
bug
code-quality
documentation
duplicate
enhancement
feature
flair
invalid
on-hold
release
third-party bug
tooling
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Blocks
#120 Auto completion should suggest commands
tools/josh
Reference: tools/josh#41
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
The shell/commands interface should pre-parse arguments based on its description. Currently, only the number of arguments is validated, but a more specific description can be given by describing which options/arguments are required/optional, what their types are, and so on.
This information can also be used to generate command documentation. Maybe later.