-
-
Notifications
You must be signed in to change notification settings - Fork 57
Simplify parsers #504
Copy link
Copy link
Closed
Milestone
Description
As of Cloud 2.0 we've committed to simplifying the creation of new arguments/parsers.
Steps:
- Move requirements out of arguments (feature: move argument requirement out of CommandArgument #489)
- Move default values out of arguments (feature: move argument requirement out of CommandArgument #489)
- Move from input queue to command input (feature: replace input queue with a structured string reader #498)
- Move default descriptions out of the argument
- Move argument name out of the argument
- Merge argument and parser
The end goal is to get rid of the argument classes entirely and leave us with parsers and builders for the parsers. Cloud already allows you to construct commands with generic arguments wrapping parsers (that's how annotated commands work) so having the extra boilerplating of per-parser command arguments doesn't serve any good purpose.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels