https://github.com/osukaa/test-oclif-stdin
Testing oclif framework to create a CLI that parses a JSON input and shares messages through ICP with a child process in Node.js
https://github.com/osukaa/test-oclif-stdin
Last synced: over 1 year ago
JSON representation
Testing oclif framework to create a CLI that parses a JSON input and shares messages through ICP with a child process in Node.js
- Host: GitHub
- URL: https://github.com/osukaa/test-oclif-stdin
- Owner: osukaa
- License: mit
- Created: 2020-12-26T06:55:15.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-28T16:51:12.000Z (over 5 years ago)
- Last Synced: 2025-02-07T11:52:50.587Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
test-oclif-stdin
================
testing oclif
[](https://oclif.io)
[](https://npmjs.org/package/test-oclif-stdin)
[](https://npmjs.org/package/test-oclif-stdin)
[](https://github.com/osukaa/test-oclif-stdin/blob/master/package.json)
* [Usage](#usage)
* [Commands](#commands)
# Usage
```sh-session
$ npm install -g test-oclif-stdin
$ test COMMAND
running command...
$ test (-v|--version|version)
test-oclif-stdin/0.0.0 darwin-x64 node-v14.15.3
$ test --help [COMMAND]
USAGE
$ test COMMAND
...
```
# Commands
* [`test hello`](#test-hello)
* [`test help [COMMAND]`](#test-help-command)
## `test hello`
Describe the command here
```
USAGE
$ test hello
OPTIONS
-n, --name=name name to print
DESCRIPTION
...
Extra documentation goes here
```
_See code: [src/commands/hello.js](https://github.com/osukaa/test-oclif-stdin/blob/v0.0.0/src/commands/hello.js)_
## `test help [COMMAND]`
display help for test
```
USAGE
$ test 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/v3.2.1/src/commands/help.ts)_