Online IDEs like Ideone or Rust Playground doesn't support CLI arguments, only if I could pass them somehow (e.g. in the source code)
Make your arg parsing function take the program's arguments as arguments.
clap and structopt both allow for this via get_matches_from a from_iter function. Just copy their signature.