Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/milesrack/gitproj
GitProj is a command-line utility designed to automate creating new GitHub repositories.
https://github.com/milesrack/gitproj
automation bash bash-scripting command-line development git github github-api programming scripts
Last synced: about 1 month ago
JSON representation
GitProj is a command-line utility designed to automate creating new GitHub repositories.
- Host: GitHub
- URL: https://github.com/milesrack/gitproj
- Owner: milesrack
- License: gpl-3.0
- Created: 2023-03-06T06:37:44.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-11T03:48:57.000Z (about 1 year ago)
- Last Synced: 2024-11-09T19:12:13.521Z (3 months ago)
- Topics: automation, bash, bash-scripting, command-line, development, git, github, github-api, programming, scripts
- Language: Shell
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitProj
GitProj is a command-line utility designed to automate creating new GitHub repositories.## Requirements
- `git`
- `curl`
- `sed`
- `jq`## Installation
```bash
git clone https://github.com/milesrack/gitproj
cd gitproj
chmod +x install.sh && ./install.sh
```## Usage
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 [options]Options:
-d Repository description.
-t Repository topics seperated by a space.
-p Create a private repository.
-h Display this help menu.
```## Configuration
`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](https://github.com/settings/tokens).## License
Licensed under the [GNU General Public License Version 3.0](https://www.gnu.org/licenses/gpl-3.0.txt)