Featured on Jun 19th, 2018

Gist CLI

A command line interface to easily upload codes to gist

CHECK IT OUT

Gist is a product created by Github for users to share a few files onto the web without create a repository. I came across this library created by Github CEO, defunkt, you can simply deploy your codes with a command line interface (CLI).

This library allows you to login to Github with OAuth2, and then share your codes with command line interface instead of copy and paste the codes onto gist official website, which make life easier.

The command are as simple as follows:

> gem install gist
> gist --login
> gist ./*.java
https://gist.github.com/superoo7/8b947834018856df4e91b6cf70ca8a58

This command shares all .java files in current directory

Then, the cli will shared a link that the gist deployed to.

Key features

  • Secure OAuth2 login in CLI.
  • Deploy codes with 1 line of command: gist filename.
  • Blazing fast and easy.
  • Share codes easily.

Possible Drawbacks

  • Need basic understanding about CLI commands.
  • The library is build with ruby, so ruby needed to be installed.

Overall

This library to be a quite easy to use, and save a lot of time just to share a few files with gist.

Hunted by @superoo7

$3.53·22 votes· comments