Simple Git & GitHub CLI Shell Scripts
1#!/bin/bash
2
3# Arguments for the usage
4ghadd_arguments=(
5 "$(basename "$0" .sh) [collaborator_username...]"
6)
7
8# Description for the usage
9ghadd_descriptions=(
10 "This script interacts with a GitHub repository"
11 "associated with the current local Git repository."
12 ""
13 "It allows you to invite new collaborators to the repository."
14)
15
16# Options for the usage
17ghadd_options=(
18 "[collaborator_username] GitHub username(s) of the collaborators to invite."
19 " Multiple usernames can be provided, separated by spaces."
20 ""
21 "--help Display this help message."
22)
23
24# Extra help
25ghadd_extras=(
26 "If no usernames are provided, the script will"
27 "prompt you to specify at least one."
28)