Utils to easily create/delete/rename repository.
Project description
Git Repo CLI
Utils to easily create/delete/rename repository.
Installation
To install git-repo-cli util type in your terminal:
pip install git-repo-cli
To use all the git-repo-cli functionality you should configure GitHub access token.
git-repo config --token <github-token>
Now you can use it.
Usage
To make usage of the cli easier git-repo
is used, instead of git-repo-cli
.
To get help on usage you can always add --help flag to the command:
git-repo --help
Initialize repository
To initialize repository type the following in the terminal:
git-repo init <repository-path>
It will create folder with name of <repository-path>
folder and initialize it
locally and remotely.
If you use other name on remote you should use the following pattern:
git-repo init <repository-name> -f <repository-local-path>
It will create repository with name <repository-name>
on remote and with path <repository-local-path>
locally.
Delete repository
To delete a repository use the following command:
git-repo delete <repository-path>
Rename repository
To rename a repository use the following command:
git-repo rename <repository-path> <repository-new-name>
Contributing
See CONTRIBUTING.md
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file git-repo-cli-1.3.5.tar.gz
.
File metadata
- Download URL: git-repo-cli-1.3.5.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca131fc50826ef1700e5fb50cbb64c5bdd1e0396c1446e47a729f7c7462cff7d |
|
MD5 | e65f160302ff8106adf240188253242a |
|
BLAKE2b-256 | c72e37aa436b66f6c5d0a9dede9a9cf67f526e6dd01a7f6647654dcf5f4b8b6b |
File details
Details for the file git_repo_cli-1.3.5-py3-none-any.whl
.
File metadata
- Download URL: git_repo_cli-1.3.5-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d85e35099331fa7c4f3c0a756fb15edc30584b0adaf7b41f2853316eb87b7d5 |
|
MD5 | b86e368a889fa674fb88a24b207559e9 |
|
BLAKE2b-256 | 4ac7ccb15a9ae1e6f3607a7d1f983e712da1c879567e6eb5c2f562638819a6a5 |