helpers for oclif CLIs
cl-cli-dev COMMAND
cl-cli-dev (-v | version | --version) to check the version of the CLI you have installed.
cl-cli-dev [COMMAND] (--help | -h) for detailed information about CLI commands.
Adds commands to README.md in current directory
USAGE
$ cl-cli-dev readme --dir <value> [--multi] [--bin <value> --plugin]
FLAGS
--bin=<value> optional main cli command
--dir=<value> (required) [default: docs] output directory for multi docs
--multi create a different markdown page for each topic
--plugin create a plugin readme doc
DESCRIPTION
adds commands to README.md in current directory
The readme must have any of the following tags inside of it for it to be replaced or else it will do nothing:
## Usage
<!-- usage -->
## Commands
<!-- commands -->
Customize the code URL prefix by setting oclif.repositoryPrefix in package.json.
See code: src/commands/readme.ts