All Projects → cesarferreira → gito

cesarferreira / gito

Licence: other
⚡ git helper tool to clone/open/auto-install/edit with a one-liner

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to gito

Aksidemenu
Beautiful iOS side menu library with parallax effect. Written in Swift
Stars: ✭ 216 (+730.77%)
Mutual labels:  carthage, swift-package-manager
AirPlay
Small framework that lets users track iOS AirPlay availability and extra features.
Stars: ✭ 46 (+76.92%)
Mutual labels:  carthage, swift-package-manager
Amplitude Ios
Native iOS/tvOS/macOS SDK
Stars: ✭ 216 (+730.77%)
Mutual labels:  carthage, swift-package-manager
VisualDebugger
The most elegant and easiest way to visual you data in playground
Stars: ✭ 22 (-15.38%)
Mutual labels:  carthage, swift-package-manager
Mechanica
A cross-platform library of Swift utils to ease your iOS | macOS | watchOS | tvOS and Linux development.
Stars: ✭ 27 (+3.85%)
Mutual labels:  carthage, swift-package-manager
L10n Swift
Localization of the application with ability to change language "on the fly" and support for plural form in any language.
Stars: ✭ 177 (+580.77%)
Mutual labels:  carthage, swift-package-manager
Validated
A rule-based validation framework
Stars: ✭ 31 (+19.23%)
Mutual labels:  carthage, swift-package-manager
Cdmarkdownkit
An extensive Swift framework providing simple and customizable markdown parsing.
Stars: ✭ 158 (+507.69%)
Mutual labels:  carthage, swift-package-manager
SwiftFCXRefresh
Pull to refresh in Swift.
Stars: ✭ 29 (+11.54%)
Mutual labels:  carthage, swift-package-manager
Sqlable
Swift library for making storing data in a SQLite database simple and magic-free
Stars: ✭ 83 (+219.23%)
Mutual labels:  carthage, swift-package-manager
Hippolyte
HTTP Stubbing in Swift
Stars: ✭ 109 (+319.23%)
Mutual labels:  carthage, swift-package-manager
BetterMappable
Better Mappable through Property Wrappers using ObjectMapper
Stars: ✭ 26 (+0%)
Mutual labels:  carthage, swift-package-manager
Multipeer
📱📲 A wrapper for the MultipeerConnectivity framework for automatic offline data transmission between devices
Stars: ✭ 170 (+553.85%)
Mutual labels:  carthage, swift-package-manager
Carting
🚘 A simple tool for updating Carthage script phase
Stars: ✭ 182 (+600%)
Mutual labels:  carthage, swift-package-manager
Kvkcalendar
A most fully customization calendar and timeline library for iOS 📅
Stars: ✭ 160 (+515.38%)
Mutual labels:  carthage, swift-package-manager
Swipycell
Easy to use UITableViewCell implementing swiping to trigger actions.
Stars: ✭ 230 (+784.62%)
Mutual labels:  carthage, swift-package-manager
Coregpx
A library for parsing and creation of GPX location files. Purely Swift.
Stars: ✭ 132 (+407.69%)
Mutual labels:  carthage, swift-package-manager
Ducttape
📦 KeyPath dynamicMemberLookup based syntax sugar for Swift.
Stars: ✭ 138 (+430.77%)
Mutual labels:  carthage, swift-package-manager
Dots
Lightweight Concurrent Networking Framework
Stars: ✭ 35 (+34.62%)
Mutual labels:  carthage, swift-package-manager
SwiftGradients
Useful extensions for UIViews and CALayer classes to add beautiful color gradients.
Stars: ✭ 15 (-42.31%)
Mutual labels:  carthage, swift-package-manager

gito

Gem Version Build Status Code Climate

git helper tool to clone/open/auto-install/edit a git project with a one-liner.

> gito cesarferreira/dryrun -e

Features

  • Quickly clone any git project and changes directory.
  • Can automatically open the folder in finder .
  • Can automatically open the project in any editor.
  • Can clone the project into a system temporary folder.
  • Auto detects project type and auto installs dependencies accordingly.
  • The project type detections can be added without releasing a new gem version.

Usage

🚙 git clones this url: https://github.com/cesarferreira/dryrun

$ gito cesarferreira/dryrun

🚕 git clone, install, open and edit the project

$ gito cesarferreira/dryrun --edit --open

🚗 git clone on a operating system /temp/ folder, install, and edit the project

$ gito cesarferreira/dryrun --edit --temp

🚓 set the editor to be 'subl' from now on

$ gito cesarferreira/dryrun -s subl

🚕 git clone, install, open and edit the project from github on a temp folder

$ gito https://github.com/cesarferreira/dryrun -e -o -t

🏎 git clone, install from another git source

$ gito https://bitbucket.org/username/project

Installation

$ gem install gito

Help

$ gito -h
Usage: gito GIT_URL [OPTIONS]

Options
    -s, --set-editor EDITOR          Set a custom editor to open the project (e.g. "atom", "subl", "vim", etc.
    -e, --edit                       Open the project on an editor
    -o, --open                       Open the project on Finder
    -d, --dryrun                     Does not install the dependencies
    -t, --temp                       Clones the project into a temporary folder
    -k, --keep                       Clones the whole git history and not just the last snapshot
    -h, --help                       Displays help
    -v, --version                    Displays the version

Supported type detections/auto-installs

So far it auto-installs these types:

  • Ruby
  • Gradle
  • node.js
  • C/C++
  • Elixir
  • Python
  • Go (Govendor, Glide)
  • Cocoapods
  • Carthage
  • Swift Package Manager
  • Rust
  • Haskell

Create a pull request by editing detector.json file if you want more types to be added.

Why?

A lot of times I find myself wanting to try some code from github and in order to do so I have to copy the git URL, go to the terminal, git clone, find out the folder name, go to the folder and based on the type of project I need to bundle install, ./gradlew assemble, npm install, pip install ., mix deps.get, make install, you name it. And after that, opening it in my text editor of choice manually... Not anymore!

Contributing

I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:

  1. If its a feature, bugfix, or anything please only change code to what you specify.
  2. Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
  3. Pull requests must be made against develop branch. Any other branch (unless specified by the maintainers) will get rejected.
  4. Check for existing issues first, before filing an issue.
  5. Have fun!

Created & Maintained By

Cesar Ferreira (@cesarmcferreira)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].