GitProj is a command-line utility designed to automate creating new GitHub repositories.
git
curl
sed
jq
git clone https://github.com/milesrack/gitproj
cd gitproj
chmod +x install.sh && ./install.sh
To create a new repository, run the gitproj
command (or gp
) followed by the name of your project. Additionally, you can specify a description, topics, and whether the repository should be private or not.
Usage: gitproj <name> [options]
Options:
-d Repository description.
-t Repository topics seperated by a space.
-p Create a private repository.
-h Display this help menu.
gitproj
reads a configuration file from $HOME/.config/gitproj/config
. If a configuration file is not present, an empty one will be created.
PROJECT_DIR=""
API_TOKEN=""
The PROJECT_DIR
variable specifies the directory new repositories will be created in. The API_TOKEN
variable contains your GitHub API token. You can generate a GitHub API token here.
Licensed under the GNU General Public License Version 3.0