Age | Commit message (Collapse) | Author |
|
Print usage on `-h` and `--help`.
Store the usage brief on `Config` in order to be able to print it from
multiple places.
|
|
Print the error and exit.
|
|
Split this out into a separate function because I want to reuse it in
`git-sugapply`.
|
|
Keep the binaries in the root crate, and add a new crate for the
`github-suggestion` library.
I want to add some library code to the CLI programs to extract common
functionality between the different binaries.
|
|
These weren't actual tests. I was using them to research different
implementation approaches.
|
|
Replace `unwrap`s with trys.
|
|
Remove the `unwrap` in this method and return a `Result`.
|
|
These methods are no longer used.
|
|
Extend the `Error` enum with new variants to capture the possible errors
from `diff()` and `diff_with_repo()`.
|
|
The newer `Suggestion.diff()` method fulfills the same need.
|
|
Planning to separate the `Suggestion` and `Client` code.
|