-
-
Notifications
You must be signed in to change notification settings - Fork 161
Conversation
Best reviewed: commit by commit
Optimal code review plan
|
@all-contributors please add @BreD1810 for code, platform and documentation |
I've put up a pull request to add @BreD1810! 🎉 |
I'm not really sure where to go from here :/. I've had a look at the way the GitHub CLI implements executing aliases. Unfortunately, I am quite new to Golang, and very new to cobra, so I haven't managed to work it out yet. |
I've been following your commits and I can say you started out really well. |
Great implementation @BreD1810 I will write unit tests for it |
* feat(alias): Add help pages * feat(alias): Add ability to add and list aliases * feat(alias): Add ability to delete aliases * refactor: refactor code to fix deepsource errors * fix(alias): Use global config * fix(alias): Use fmt to print 'That alias does not exist' instead of log * feat(alias): Add functionality to execute aliases
Description
It would be nice if a user could create aliases for long commands that they use a lot. The changes made will be based upon the GitHub CLI format.
Related Issue
#108
Motivation and Context
This makes long commands easier to use.
How Has This Been Tested?
![image](https://user-images.githubusercontent.com/32489229/90878756-d5873500-e39d-11ea-8e23-b9ce9dc3a18a.png)
See screenshot below:
Screenshots (if appropriate):
Types of changes
Checklist: