1.2.0 • Published 8 months ago

@stein197/cli v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Command Line Interface utilities

Installation

npm install @stein197/cli

Usage

import * as arg from "@stein197/cli/arg";

arg.parse("--opt1 val1 -- str1"); // {args: ["str1"], opts: {opt1: "val1"}}

API

ModuleFunctions
argparse

NOTE. Please, refer to docblocks in the source code for more detailed documentation.

npm scripts

  • build run clean, test and ts scripts
  • clean delete compiled files
  • test run tests
  • ts compile the project
  • ts:check run compile check
1.2.0

8 months ago

1.1.0

9 months ago

1.0.0

9 months ago