-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: cobra, shell completions, perf and ui improvements (#112)
* refactor: use cobra for flags - Use Cobra - Clean up - Refactor * fix: db path * feat: completions * chore: cleanup * chore: cleanup * fix: tests * test: db.Completions * fix: improvements * fix: config * test: fix broken test Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: env, gitignore * fix: no need to wrap in an error Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: mods with no args Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: --list should print list to stdout (#113) Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: improve error handling (#114) Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: styles & stderr Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: version Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: remove unused examples * fix: hide completion and help commands * fix: error handling - Fix modsError - Error when continuing without a prompt * fix: mark flags as mutually exclusive * fix: create cache directory * fix: improve completions * fix: improve completions * fix: use errors.As * fix: improve styles * fix: improve config creation and its error handling * fix: mkdir cache * fix: ensure error's reasons ends with . * perf: indices * test: fix broken test, add no prompt continue test Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * chore: fmt queries --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
- Loading branch information
1 parent
dec042d
commit 17a19d4
Showing
10 changed files
with
507 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
mods | ||
.envrc | ||
|
||
completions/ | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.