GithubHelp home page GithubHelp logo

gisthrower's Introduction

Build Status ![codecov] (https://codecov.io/gh/nyraxle/gisthrower/branch/master/graph/badge.svg) dependencies Status Node Version

Gisthrower - A minimalist CLI to manage gists

Manage your gists from command line using Personal access tokens from GitHub


Install

$ npm install -g gisthrower

Usage

Usage: gisthrower [command] <parameter> {OPTIONS} <parameters>

Standard Options:
    --version, -v                    Get versions of package
       --help, -h                    Get CLI help
       --auth, -a  <user>:<token>    Save personal access token and username

Commands:
             list                    List gists
             gist  <id>              Get details from a single gist based on his <id>
List command:

List
Usage:
                    list  {OPTIONS}

Options:
               --all, -a                           List all gists from current saved user/token
           --starred, -s                           List only starred gists
         --from-user, -f     <username>            List all public gists from specific user
              --rage, -r     <from>-<to>           List all gists in a given rage (index list based)

Gist
Usage:
                    gist     <id>                  Get details from a single gist

Options:
    --download-files, -d     <destination>         Download all files from a gist to a given destination folder
             --clone, -c     <destination>         Clone your gist repository to a given repository
              --more, -m                           Get detailed informations about referenced gist
              --open, -o     [browser]             Open the gist in specified browser (default if browser isn't specified)

Development

$ npm link          # create the symlink to gisthrower command to your working folder
$ gulp test:mocha   # run mocha tests
$ gulp lint         # lint the code using avaiable es6 features*
$ npm test          # run codecoverage

Test User Environment process.env

  • TEST_USER: valid github user
  • TEST_USER: valid github token

Roadmap

TODO

TODO:
-  Create Gists
-  Point files to include on gist (fs IO)
-  Create a version history file
-  Edit Gists
-  Delete Gists
-  Create release notes
-  Star Gists
-  Unstar Gists
DONE:
-  Open a referenced gist on default system browser
-  Get detailed informations about a single gist
-  Clone gist repository to a local folder
-  Get details from a single gist
-  Show dependencies
-  100% coverage
-  Apply on Travis.ci

notes

gisthrower's People

Contributors

nyraxle avatar

Stargazers

Maicon Heck avatar Micah Wood avatar  avatar Diego Giacomelli avatar

Watchers

 avatar  avatar

gisthrower's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.