Skip to content

sbszcz/kloni

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kloni

Quick git repo cloning cli tool.

This tool is still work in progress and can be used on your own risk.

For now only Github Enterprise and Bitbucket is supported.

Installation

  1. Install rust via rustup.
  2. Clone this repo
  3. Build kloni using cargo
    cargo build --release
  4. Copy the binary to a usual executables location.
    cp target/release/kloni ~/.local/bin

Usage

  1. Ensure your ssh-agent is running and your private key is added!
  2. Run kloni without arguments. The first execution will fail and ask you to provide Github Enterprise/Bitbucket connection information (url, personal access token) via the generated ~/.config/kloni/config.toml.
  3. kloni uses skim as fuzzy finder library. You can use the tab key to select multiple repos at once to clone them within one run.
  4. kloni caches all repos found in ~/.cache/kloni/github and won't issue further http requests as long as this file exists. For updating your repo list you have to delete this file manually.

Todo

  • Obviously add some tests
  • Add some kind of build and test pipeline
  • Implement bitbucket support
  • Improve command line interface
    • --help argument
    • update sub command

About

Quick git repo cloning cli tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages