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
yukiOP17mo ago
No description
Lioness100
Lioness10017mo 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
Lioness10017mo 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
yukiOP17mo ago
any chance that it would be implemented by the devs? should i open issue?
Lioness100
Lioness10017mo ago
That would be a @Developers question
yuki
yukiOP17mo ago
or should i open pr then
Favna
Favna17mo ago
You can open a Pr yes
vladdy
vladdy17mo ago
Don't we have support for it tho o.o Oh Options with quotes @kyra 🩵🩷🤍🩷🩵 pls
yuki
yukiOP17mo ago
PleadingFluent
Want results from more Discord servers?
Add your server