Ginz is a command-line utility that simplifies the process of cloning multiple repositories from GitHub by allowing you to specify the repositories and their branches in a single configuration file.
Project description
Ginz
Ginz is a command-line tool for cloning multiple repositories from GitHub based on a configuration file. It simplifies the process of cloning multiple repositories by allowing you to specify the repositories and their branches in a single configuration file.
Features
- Clones multiple repositories from GitHub.
- Supports specifying the branch for each repository.
- Provides progress updates during the cloning process. (Coming)
- Easy-to-use command-line interface.(Coming)
- Customizable through a configuration file.
Installation
- Ensure that Python 3.x is installed on your system.
- Open a terminal or command prompt.
- Run the following command to install Ginz:
Via pip
pip install git+https://github.com/happer64bit/ginz-cli
Usage
- Create a configuration file named
Ginz.tomlin the desired directory. The file should be in the TOML format. - Add repository entries to the configuration file in the following format:
[repository-name]
source = "https://github.com/username/repository-name"
branch = "main"
Replace [repository-name] with a unique name for each repository, source with the GitHub repository URL, and branch with the desired branch name (optional, defaults to "main").
- Open a terminal or command prompt.
- Navigate to the directory containing the
Ginz.tomlconfiguration file. - Run the following command to start the cloning process:
ginz
Ginz will read the configuration file, clone the specified repositories, and display progress updates during the cloning process.
Options
Ginz supports the following command-line options:
--versionor-v: Prints the version of Ginz.--helpor-h: Displays help information and usage instructions.--refetch: Update All Repo inGinz.toml--config-url <url>: Fetch Config and run
Example
Let's assume you have the following Ginz.toml configuration file:
[project-a]
source = "https://github.com/user-a/project-a"
branch = "main"
[project-b]
source = "https://github.com/user-b/project-b"
branch = "development"
Running the command gint in the directory containing the Ginz.toml file will clone project-a from the main branch and project-b from the development branch.
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ginz-1.3-py3-none-any.whl.
File metadata
- Download URL: ginz-1.3-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e61e6691232c35433e22f2d35156aac0776efe4114dcca90618ed4c727b07043
|
|
| MD5 |
6400651586472d99cf7a37691880e249
|
|
| BLAKE2b-256 |
8685047867d24e1a4278a719e35ebbd9db9a151229e999a6ba003a81855b5e92
|