Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: sort output based on column #64

Open
1 of 2 tasks
bdougie opened this issue Oct 27, 2023 · 1 comment
Open
1 of 2 tasks

Feature: sort output based on column #64

bdougie opened this issue Oct 27, 2023 · 1 comment

Comments

@bdougie
Copy link
Member

bdougie commented Oct 27, 2023

Type of feature

🍕 Feature

Current behavior

This might just be a documentation thing, but when running the following command.

pizza insights user-contributions https://github.com/open-sauced/app

I get the following output

User                Total      Commits    PRs Created
289Volts            14         13         1
5hraddha            47         40         7
aryanas159          27         24         3
ATREAY              2          1          1
babblebey           13         12         1
brainconnect93      7          5          2
brandonroberts      368        334        34
CBID2               3          2          1
Code-Victor         2          1          1
Deadreyo            8          6          2
diivi               3          2          1
foxyblocks          24         22         2
FrancoLab           4          3          1
Gourav2609          15         13         2
heysagnik           6          5          1
Hiperultimate       5          4          1
itskish0re          9          5          4
jpmcb               6          5          1
lalitkumawat1m      1          0          1
Lucif3r-in          3          2          1
nickytonline        156        136        20
OgDev-01            164        135        29
RitaDee             47         39         8
ryuk-jayant         3          2          1
Satoshi-Sh          6          3          3
saurabh-nahar       1          0          1
shamimbinnur        1          0          1
shavidze            1          0          1
shelar1423          6          3          3
smrkhan21           2          1          1
SoundaryaKoutharapu 4          3          1
tarunclub           2          1          1

I'd love to sort column based on PRs created, but not sure it is possible. I assume I could pipe the result with a bash sort, but opening this issue before I put too much time into trying to discover this.

Suggested solution

A potential solution if this is not possible via existing features

pizza insights user-contributions https://github.com/open-sauced/app --sort "PRs created"

Of course an alternative is taking the CSV to a google sheet.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Contributing Docs

  • I agree to follow this project's Contribution Docs
@k1nho
Copy link
Contributor

k1nho commented Nov 2, 2023

I'd love to sort column based on PRs created, but not sure it is possible. I assume I could pipe the result with a bash sort, but opening this issue before I put too much time into trying to discover this.

Yeah, this is possible via a flag. I can pick this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants