1.0.1 • Published 11 months ago

@arnat/getrepo v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

CLI Get Github Repository

A simple util to select a repository based of a Organization / User, because it's more efficient just to select & clone a repository from the shell instead browsing.

Features

  • Retrieve list of repositories of given org/user
  • Show a interactive CLI to filter & select a repository
  • Clone selected repo into current folder

Requirements

  • A Github Token(optional)
  • Git

Installation

$ npm install --global @arnat/getrepo

How to use

$ getrepo 

To-Do

  • type organization or profile
  • get list of project from api
  • filter archived
  • parse only name
  • send to npm cli library to select
  • selected concat for git URL
  • clone selected project
  • Token Environment setting
  • config: add dynamic
  • config: scan archived repos?
  • Search filter instead select repo
  • namespace for deployment
  • Export as bin
  • Add some screenshots & gifs

Future Improves

  • Unit testing
  • Best practices
  • CLI improves by arguments