ogito 0.3.0

A simple and efficient Git repository cloning management tool
Documentation

ogito🍸

Crates.io Version Crates.io License Crates.io Total Downloads

A simple and efficient Git repository cloning management tool. ogito allows you to quickly clone repositories to create a clean project.

Features

  • πŸš€ Fast cloning of GitHub repositories
  • 🧹 Create clean project copies
  • πŸ”„ Force mode to override existing directories
  • πŸ“Š Beautiful progress indicators and status feedback
  • πŸ’» User-friendly command line interface

install

# cargo

cargo install ogito


# npm

npm install -g ogito

Usage

# Basic usage

ogito <repository URL>

# Example

ogito https://github.com/user/repo


# Use specific direcotry name

ogito https://github.com/user/repo -d dirname


# Use force mode to override existing directory

ogito https://github.com/user/repo -d dirname -f


# Specify site (currently supports GitHub and Gitlab)

ogito https://github.com/user/repo -d my-project -s github

Command Line Options

  • [url] - Source file link
  • -d, --dir <DIRNAME> - Destination directory name
  • -m, --mode <MODE> - Operation mode (git or tar)
  • -f, --force - Force operation, override existing directory
  • --keep-history - Keep the history of the repository

Contributing

Contributions are welcome! Feel free to submit issues and pull requests.

License

This project is open source under the MIT LICENSE.