h3
h3 copied to clipboard
DRY the CLI
Based on the discussion with @nrabinowitz in the prior CLI PR. This PR removes duplicate help text and argument types, and turns the arg length trick (and all of the "show subcommand-specific help text" code) into a macro, deleting about twice as much text as it adds.
PS. DRY the CLI does not rhyme.