You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,18 @@
1
1
# v2.0.0
2
2
3
-
Breaking
3
+
**Features**
4
+
5
+
- You can now pass `--use-gh-cli` flag and it will use the [`gh`](https://github.com/cli/cli) CLI. This lets you avoid "Rate limit" errors if you authenticate.
6
+
7
+
**Breaking**
4
8
5
9
I've rewritten the CLI in [Clap](https://github.com/clap-rs/clap) instead of a hand-written parser.
6
10
7
11
This has 2 advantages:
8
12
9
13
- Easier to maintain. The CLI is now declarative. Help is automatically generated. In total we went from about 3,000 lines of code (mostly tests) to just under 200 for the command-line parsing logic.
10
14
- More intuitive. The previous CLI interface was nothing like you'd find in any other command-line app.
15
+
-`patchy completions` subcommand generates completion for any shell
11
16
12
17
And it implies that you can't do stuff like fetch more than 1 PR or Branch using patchy. I don't think people used this much. However, if you'd like to do it you can just invoke `patchy` more than once.
0 commit comments