commands.rs
commands.rs copied to clipboard
Create tokens from argv
We should have a way to create tokens from argv
for handling feeding the Parser
from the command line.
I'll take a look at this tonight.
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?