Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added git notifs url #19

Merged
merged 1 commit into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -628,6 +629,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