mainmatter / cargo-autoinherit

(Auto)DRY for your Rust dependencies
Apache License 2.0
124 stars 8 forks source link

Add cli interface #14

Closed matthiasbeyer closed 5 months ago

matthiasbeyer commented 5 months ago

This patch adds a minimal CLI interface to the command, so that users running cargo autoinherit --help after installing the command for the first time are not greeted by some nasty error output, but instead get the help and can observe that there are indeed no commands or flags implemented on the command.

LukeMathWalker commented 5 months ago

Thanks for raising the issue! For a cargo subcommand things need to look a bit different, see https://github.com/mainmatter/cargo-autoinherit/commit/e707457e95142af7349544fc7c275e0723735cd1

matthiasbeyer commented 5 months ago

Ah, TIL. Thanks for cleaning it up for me!