tealdeer-rs / tealdeer

A very fast implementation of tldr in Rust.
https://tealdeer-rs.github.io/tealdeer/
Apache License 2.0
4.17k stars 123 forks source link

Introduce command_or_file arg group #230

Closed dbrgn closed 2 years ago

dbrgn commented 2 years ago

This allows to say "this command line parameter requires either a command or a raw file".

Fixes #219.

(Clap is pretty awesome!)