Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Scaffold alias command * Implement alias functionality * Move actual versions to separate directory * Add second example to alias --help * Fix alias command * Implement list --aliases * Fix use command for aliases * Update readme with alias command example * Add list --aliases to readme * Fix help example * Replace all occurances of os.Exit(1) in pgk with helpers.ExitWithError() * Use helpers.ColoredVersion everywhere * Replace all occurances of exit(1) with the helper * Add helper function for printing an error with help command * Fix path check condition * Error = red * fix: typo in func --------- Co-authored-by: Bruno Schaatsbergen <58337159+bschaatsbergen@users.noreply.github.com> Co-authored-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
- Loading branch information
1 parent
2d80717
commit 88021a6
Showing
13 changed files
with
145 additions
and
181 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
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
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.