greenhub-cli

1.3.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i greenhub-cli

Weekly Downloads

1

Version

1.3.2

License

MIT

Last publish

Collaborators

  • hmatalonga