skgnode-clitools

A sample CLI tool to help SKG-Noders understand how to write CLI tools

Usage no npm install needed!

<script type="module">
  import skgnodeClitools from 'https://cdn.skypack.dev/skgnode-clitools';
</script>

README

skgnode-clitools

The stronghold that holds all the key to the skgnode-clitools talk

Presentation

http://slides.com/adonisk/cli-tools-in-node-js

Installation

npm install -g skgnode-clitools

Help

clitools --help
  Usage: clitools [options] [command]

  Commands:

    shuffle <list>         returns the list shuffled
    sort [options] <list>  returns the list sorted
    size <list>            returns the size of the list
    even <list>            returns only the even values in the list
    odd <list>             returns only the odd values in the list

  Options:

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