gabebw / most-used

Find your most-used shell commands
BSD 3-Clause "New" or "Revised" License
12 stars 0 forks source link

User can specify commands where first arg matters #6

Closed gabebw closed 7 years ago

gabebw commented 7 years ago

For example, git and spring have interesting subcommands, and counting git commit is just as if not more interesting than counting just git.

Now users can provide --include-first-arg=git (and provide the option as many times as they want with different commands) and most-used will then count both git and git commit/git status/etc.

Note that there's still a count of the overall number of calls to plain git; the user will just additionally get a count of git + every subcommand.

gabebw commented 7 years ago

Fixes #5