Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pkgstore/bash-github-api
Bash tools for GitHub API.
https://github.com/pkgstore/bash-github-api
api api-client bash bash-script bash-scripts github github-api linux
Last synced: about 2 months ago
JSON representation
Bash tools for GitHub API.
- Host: GitHub
- URL: https://github.com/pkgstore/bash-github-api
- Owner: pkgstore
- License: mit
- Created: 2023-07-18T19:55:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-18T14:42:27.000Z (11 months ago)
- Last Synced: 2024-02-18T15:38:25.509Z (11 months ago)
- Topics: api, api-client, bash, bash-script, bash-scripts, github, github-api, linux
- Language: Shell
- Homepage: https://ihub.to
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Bash tools for GitHub API
Tools for automating work with [GitHub](https://github.com/).
## Syntax
### Creating repository
- [repo.create.sh](repo.create.sh)
- `-x 'TOKEN'`
GitHub user token.
- `-o 'OWNER'`
Organization name. This is not case sensitive.
- `-r 'REPO_1;REPO_2;REPO_3'`
Repository name (array).
- `-d 'DESCRIPTION'`
Repository description.
- `-s 'https://example.org/'`
Repository site URL.
- `-l 'mit'`
Open source license template. For example, "mit" or "mpl-2.0".
- `-p`
Whether repository is private.
- `-i`
Enable issues for this repository.
- `-j`
Enable projects for this repository.
NOTE: If you're creating a repository in an organization that has disabled repository projects, the API returns an error.
- `-w`
Enable wiki for this repository.
- `-u`
Create an initial commit with empty README.### Deleting repository
- [repo.delete.sh](repo.delete.sh)
- `-x 'TOKEN'`
GitHub user token.
- `-o 'OWNER'`
Repository owner (organization).
- `-r 'REPO_1;REPO_2;REPO_3'`
Repository name (array).### Updating topics
- [repo.topics.sh](repo.topics.sh)
- `-x 'TOKEN'`
GitHub user token.
- `-o 'OWNER'`
Repository owner (organization).
- `-r 'REPO_1;REPO_2;REPO_3'`
Repository name (array).
- `-t 'TOPIC_1;TOPIC_2;TOPIC_3'`
Topic name (array).### Transferring repository
- [repo.transfer.sh](repo.transfer.sh)
- `-x 'TOKEN'`
GitHub user token.
- `-o 'OWNER_OLD'`
OLD repository owner (organization).
- `-n 'OWNER_NEW'`
NEW repository owner (organization).
- `-r 'REPO_1;REPO_2;REPO_3'`
Repository name (array).### Updating repository
- [repo.update.sh](repo.update.sh)
- `-x 'TOKEN'`
GitHub user token.
- `-o 'OWNER'`
Repository owner (organization).
- `-r 'REPO_1;REPO_2;REPO_3'`
Repository name (array).
- `-d 'DESCRIPTION'`
Repository description.
- `-s 'https://example.org/'`
Repository site URL.
- `-p`
Whether repository is private.
- `-i`
Enable issues for this repository.
- `-j`
Enable projects for this repository.
- `-w`
Enable wiki for this repository.