Spaced options with @sapphire/lexure

How do I get options that contains space? I tried add the options with quotes, but it doesn't work. Detailed code: https://runkit.com/zenshibata/sapphire-lexure-test
RunKit
RunKit
RunKit notebooks are interactive javascript playgrounds connected to a complete node environment right in your browser. Every npm module pre-installed.
9 Replies
yuki
yuki10mo ago
No description
Lioness100
Lioness10010mo ago
It doesn't look like that's implemented. This is the logic that parses options (assuming you're using PrefixedStrategy) https://github.com/sapphiredev/utilities/blob/a05654bf10cac4fda0e9e327e5616397e33832f1/packages/lexure/src/lib/parser/strategies/PrefixedStrategy.ts#L25-L46
GitHub
utilities/packages/lexure/src/lib/parser/strategies/PrefixedStrateg...
Common JavaScript utilities for Sapphire Projects. Contribute to sapphiredev/utilities development by creating an account on GitHub.
Lioness100
Lioness10010mo ago
I suggest that you extend that class to implement that functionality. I also suggest you reuse functionality to parse quoted parameters from Lexer
yuki
yuki10mo ago
any chance that it would be implemented by the devs? should i open issue?
Lioness100
Lioness10010mo ago
That would be a @Developers question
yuki
yuki10mo ago
or should i open pr then
Favna
Favna10mo ago
You can open a Pr yes
vladdy
vladdy10mo ago
Don't we have support for it tho o.o Oh Options with quotes @kyra 🩵🩷🤍🩷🩵 pls
yuki
yuki10mo ago
PleadingFluent