drp Command Line utility

April 19th 2017

Imagem

Drp (pronounced derp), stands for “duplicate repository, please” and it is a command line tool written in node.js to clone Github repositories with ease. I made this to simplify how I clone my Github repositories without writing the full URL, and even without the vendor name(to this you have to configure with a default vendor name).

Github Repository

Installation

To install drp follow the standars of Node.js packages.

1
npm install -g drp

Commands

1
drp rep amazing-vendor-name/my-awesome-rep-name
1
drp rep my-awesome-rep-name

This will look for the default vendor name in the configuration file, and add it there. If empty, will trow an error.

1
drp vendor amazing-vendor-name

Set a default vendor name for your cloning actions. With this, you’ll not need to use the full name of the repository if the repository belongs to this vendor. You can still clone repositories from other vendors adding the full name for example another-vendor/cool-rep.

Comments