all-contributors/cli

More options for sorting contributors

tenshiAMD opened this issue · 2 comments

I suggest having more options for sorting contributors.

Options:

  • none (default)
  • username
  • number of contribution types

Types:

  • ascending - without minus sign (default)
  • descending - with minus sign

Proposed format

contributorsSortBy: "-username"

Old format

"contributorsSortAlphabetically": false

@gr2m @Berkmann18 what do you think? Please let me know. Thanks! 🎉

I agree, having the field name or something meaningful like "username"; I like the idea behind the - for descending although that would definitely need docs as it's not intuitive.