raspite / rsh

The main repo for the raspite shell (rsh)
Apache License 2.0
3 stars 1 forks source link

Complete parse_args Function #38

Closed with-heart closed 7 years ago

with-heart commented 7 years ago

This should complete a basic working version of the parse_args function. It returns a Vec<String> for argv containing the parsed input.

Additionally, parse_args will ensure that any quote blocks have been completed. If they have not, it will continue to ask for input until the block is completed.

@chasinglogic @link867 please review!

with-heart commented 7 years ago

Yeah, if I had read that language tutorial before I wrote this rather than after, I'd have done it quite differently. I plan to rewrite it sometime this week.

chasinglogic commented 7 years ago

@lionize just make the requested changes and we'll merge this version for now and we can rewrite later

with-heart commented 7 years ago

@chasinglogic Sounds good!

chasinglogic commented 7 years ago

had to manually merge github bugged out on the travis checks

with-heart commented 7 years ago

I was wondering what the deal was.