Draft:Use `clap` for argument parsing
This should close T325953. clap
will now be used to parse arguments.
This merge request is still a draft because I am not quite sure if any metadata (version info, help message, etc.) should be added to command line interface.