commands.rs icon indicating copy to clipboard operation
commands.rs copied to clipboard

Create tokens from argv

Open waywardmonkeys opened this issue 8 years ago • 2 comments

We should have a way to create tokens from argv for handling feeding the Parser from the command line.

waywardmonkeys avatar May 17 '16 11:05 waywardmonkeys

I'll take a look at this tonight.

wvdschel avatar May 17 '16 11:05 wvdschel

So, say I have a function that turns the command line arguments into a Vec<Token>.

Where would it be best to put this function and what should it be named? Should it insert whitespace tokens in between command line arguments? Should it do anything to wrap multiword arguments into quotes?

wvdschel avatar May 30 '16 17:05 wvdschel