Skip to main content

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

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git-repo-cli-1.3.1.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

git_repo_cli-1.3.1-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file git-repo-cli-1.3.1.tar.gz.

File metadata

  • Download URL: git-repo-cli-1.3.1.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

Hashes for git-repo-cli-1.3.1.tar.gz
Algorithm Hash digest
SHA256 ec314c6896ad110282ac50abea2bcb9c5abf2828d3cfb2261bd0050ef25ec4ce
MD5 9b6cc3df82308c68976ce0f0ca347da4
BLAKE2b-256 02144b21df6c442feed830316e3e0da742c2cd25ff3d52a8e04741e1da4a13bc

See more details on using hashes here.

File details

Details for the file git_repo_cli-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: git_repo_cli-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 8.7 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

Hashes for git_repo_cli-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ae7b9342b0636465ad6ca074a28da256a9e8b3e99986d4207ce86b6d536b41d
MD5 3d904ea1ab27138b3f1399601975e9e0
BLAKE2b-256 b27c534acdb3198fc33bfd797f2dc0fef1405efb6d3d73de151fe23810aedd8e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page