This should be relatively easy if [`clap_complete`](https://docs.rs/clap_complete/latest/clap_complete/) can be leveraged.