UNPKG

@oclif/example-multi-ts

Version:

example multi-command CLI built with typescript

75 lines (58 loc) 2.37 kB
@oclif/example-multi-ts ======================= example multi-command CLI built with typescript [![Version](https://img.shields.io/npm/v/@oclif/example-multi-ts.svg)](https://npmjs.org/package/@oclif/example-multi-ts) [![CircleCI](https://circleci.com/gh/oclif/example-multi-ts/tree/master.svg?style=shield)](https://circleci.com/gh/oclif/example-multi-ts/tree/master) [![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/oclif/example-multi-ts?branch=master&svg=true)](https://ci.appveyor.com/project/oclif/example-multi-ts/branch/master) [![Codecov](https://codecov.io/gh/oclif/example-multi-ts/branch/master/graph/badge.svg)](https://codecov.io/gh/oclif/example-multi-ts) [![Greenkeeper](https://badges.greenkeeper.io/oclif/example-multi-ts.svg)](https://greenkeeper.io/) [![Known Vulnerabilities](https://snyk.io/test/github/oclif/example-multi-ts/badge.svg)](https://snyk.io/test/github/oclif/example-multi-ts) [![Downloads/week](https://img.shields.io/npm/dw/@oclif/example-multi-ts.svg)](https://npmjs.org/package/@oclif/example-multi-ts) [![License](https://img.shields.io/npm/l/@oclif/example-multi-ts.svg)](https://github.com/oclif/example-multi-ts/blob/master/package.json) <!-- toc --> * [Usage](#usage) * [Commands](#commands) <!-- tocstop --> <!-- usage --> # Usage ```sh-session $ npm install -g @oclif/example-multi-ts $ example-multi-ts COMMAND running command... $ example-multi-ts (-v|--version|version) @oclif/example-multi-ts/1.5.0 linux-x64 node-v9.9.0 $ example-multi-ts --help [COMMAND] USAGE $ example-multi-ts COMMAND ... ``` <!-- usagestop --> <!-- commands --> # Commands * [example-multi-ts hello [FILE]](#hello-file) * [example-multi-ts help [COMMAND]](#help-command) ## hello [FILE] describe the command here ``` USAGE $ example-multi-ts hello [FILE] OPTIONS -f, --force -n, --name=name name to print EXAMPLE $ example-multi-ts hello hello world from ./src/hello.ts! ``` _See code: [lib/commands/hello.js](https://github.com/oclif/example-multi-ts/blob/v1.5.0/lib/commands/hello.js)_ ## help [COMMAND] display help for example-multi-ts ``` USAGE $ example-multi-ts help [COMMAND] ARGUMENTS COMMAND command to show help for OPTIONS --all see all commands in CLI ``` _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.1.6/src/commands/help.ts)_ <!-- commandsstop -->