Parse arguments as if they were from a command line

Use tok_str(3) from libedit to parse arguments