-
-
Notifications
You must be signed in to change notification settings - Fork 224
Open
Labels
⚡ commandSpecific Adonis commandsSpecific Adonis commands✨ enhancementEnhancing or improving existing functionalityEnhancing or improving existing functionality
Description
What part of Adonis is this related to?
Command
What are you suggesting?
As I was writing #1876, I noticed that if an argument has spaces, it becomes problematic relatively fast. Imagine if a team name is like this: The Team. If you tried passing that into the command parser, both "The" and "Team" would be treated as separate arguments.
As an alternative approach, it might be best to provide instead an option to wrap the argument in quotes to specify that it's one argument. Example: :team Guest "The Team".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
⚡ commandSpecific Adonis commandsSpecific Adonis commands✨ enhancementEnhancing or improving existing functionalityEnhancing or improving existing functionality