Skip to content

Commit

Permalink
Merge pull request #19 from hwixley/git-notifs-url-support
Browse files Browse the repository at this point in the history
Added git notifs url
  • Loading branch information
hwixley authored Jul 19, 2023
2 parents 9436b73 + 8689d7e commit a6fca03
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Optimize your development productivity in the terminal
- [Extra Feature Setup](#extra-feature-setup)
- [Factory-reset Installation](#factory-reset-installation)
- [List of Commands](#list-of-commands)
- [Defaults](#defaults)
- [Defaults](#defaults)
- [Navigation](#navigation)
- [Code Editing](#code-editing)
- [Custom Script/Environment Execution](#custom-scriptenvironment-execution)
Expand Down Expand Up @@ -174,9 +174,10 @@ Please note any command with an argument in angle brackets below (ie. `<branch>`
3. `prs`: go to the Pull Requests page for the respective GitHub repository url from your current directory
4. `actions`: go to the Action Workflows page for the respective GitHub repository url from your current directory
5. `issues`: go to the Issues page for the respective GitHub repository url from your current directory
6. `profile`: go to your GitHub profile
7. `org <myorg?>`: go to the specified url of the GitHub organization
8. `help`: go to the wix-cli GitHub Pages url for documentation
6. `notifs`: go to your GitHub Notifications
7. `profile`: go to your GitHub profile
8. `org <myorg?>`: go to the specified url of the GitHub organization
9. `help`: go to the wix-cli GitHub Pages url for documentation

### Data for Custom Scripting Logic

Expand Down
5 changes: 5 additions & 0 deletions wix-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ if [ $num_args -eq 0 ]; then
echo "- prs ${ORANGE}: go to git repo Pull Requests URL${RESET}"
echo "- actions ${ORANGE}: go to git repo Actions URL${RESET}"
echo "- issues ${ORANGE}: go to git repo Issues URL${RESET}"
echo "- notifs ${ORANGE}: go to git notifications URL${RESET}"
echo "- profile ${ORANGE}: go to git profile URL${RESET}"
echo "- org <myorg?> ${ORANGE}: go to git org URL${RESET}"
echo "- help ${ORANGE}: go to wix-cli GitHub Pages URL${RESET}"
Expand Down Expand Up @@ -632,6 +633,10 @@ elif [ "$1" = "prs" ]; then
info_text "Redirecting to Pull Requests on $repo_url..."
giturl "https://github.com/$repo_url/pulls"

elif [ "$1" = "notifs" ]; then
info_text "Redirecting to your Notifications..."
giturl "https://github.com/notifications"

elif [ "$1" = "nb" ]; then
if arggt "1" ; then
npush "$2"
Expand Down

0 comments on commit a6fca03

Please sign in to comment.