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