Commit graph

10 commits

Author SHA1 Message Date
98de5e4c17
refactor: Stats
• Remove unused parameters from functions
• Decompose functions where possible

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-12-11 17:25:19 +01:00
0dbfd6e849
refactor: Move ‹task› to the root command
Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-12-11 17:24:28 +01:00
a24d7bdc0c
feat: Implement statistics
Fixes #8

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-12-11 16:44:22 +01:00
df2660698d
fix: Remove unused ‹fmt›
Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-12-11 16:44:22 +01:00
c9ec7c865c
feat: Implement opening of PRs per milestone
Fixes #5

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-12-11 16:44:06 +01:00
25626f1f75
refactor: Improve error logging
Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-12-07 00:25:29 +01:00
ae40226d94
refactor: Update config and clean up code
- Change naming in the config
- Add a template for config
- Try to fix an issue with «multi-line» vs «single-line» comments

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-09-11 23:34:25 +02:00
53deef6627
refactor(comments): Clean up formatting
Clean up formatting of the comments and simplify it.

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-09-11 23:20:35 +02:00
050a15cb75
feat: Improve CLI experience
- Improve CLI experience by using Cobra
- Introduce option to look up PR based on branch
- Introduce failsafe that uses current branch in case neither PR ID or
  branch have been specified

Fixes #1, #2

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-09-11 22:36:13 +02:00
ff3ecb2341
chore: Reorganize files
- Also add gitignore

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-09-11 22:36:07 +02:00