Closed franklinselva closed 1 year ago
This seems to be quite ad-hoc: we expect one or two arguments, which are essentially mutually exclusive (if there is a file on the command line, the address is unused). It is also non discoverable and not documented. A better way would be to use clap (https://docs.rs/clap/latest/clap/) to handle the argument parsing (in particular, I think subcommands would make sense here where we have two exculsive cases).
@arbimo I have added the requested changes.
Added command line arguments for