1.3.2 • Published 7 years ago

greenhub-cli v1.3.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

GreenHub Lumberjack

Build Status npm version Dependency Status

A command line app for interacting with the GreenHub REST API.

You can learn more about the GreenHub platform at http://greenhub.hmatalonga.com

Install

Make sure you have Node.js version 6+ installed. Then run the following:

$ npm install --global greenhub-cli

In case you don't have permissions to install npm packages globally, then add sudo:

$ sudo npm install --global greenhub-cli

API

Usage

$ greenhub --help

  Usage: index [options] [command]

  GreenHub Lumberjack - A command line app for interacting with the GreenHub REST API.


  Options:

    -V, --version  output the version number
    -h, --help     output usage information


  Commands:

    count|c [options] <model> [params...]       return total number of records from specified model
    docs                                        open online GreenHub documentation
    export|e [options] <model> [params...]      export a query of specified model to a csv file
    list [options]                              list available models
    login [options]                             login with an user API token key
    logout                                      logout any user API credentials
    lumberjack|j [options] <model> [params...]  flexible query builder
    remote [options]                            display the current GreenHub server URL
    status [options]                            check the status of the server
    token [options]                             display the user API token key
    whoami [options]                            display information about the user

Disclaimer

This application was only tested on UNIX-like systems. There is no guarantee that fully supports other systems.

License

MIT © Hugo Matalonga

1.3.2

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago