Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @oclif/dev-cli with all npm packages installed. Try it out:

var devCli = require("@oclif/dev-cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@oclif/dev-cli v1.22.2

helpers for oclif CLIs

@oclif/dev-cli

helpers for oclif CLIs

Version CircleCI Appveyor CI Codecov Known Vulnerabilities Downloads/week License

* [Usage](#usage) * [Commands](#commands) # Usage ```sh-session $ npm install -g @oclif/dev-cli $ oclif-dev COMMAND running command... $ oclif-dev (-v|--version|version) @oclif/dev-cli/1.22.2 darwin-x64 node-v10.2.1 $ oclif-dev --help [COMMAND] USAGE $ oclif-dev COMMAND ... ``` # Commands * [`oclif-dev help [COMMAND]`](#oclif-dev-help-command) * [`oclif-dev manifest [PATH]`](#oclif-dev-manifest-path) * [`oclif-dev pack`](#oclif-dev-pack) * [`oclif-dev pack:deb`](#oclif-dev-packdeb) * [`oclif-dev pack:macos`](#oclif-dev-packmacos) * [`oclif-dev pack:win`](#oclif-dev-packwin) * [`oclif-dev publish`](#oclif-dev-publish) * [`oclif-dev publish:deb`](#oclif-dev-publishdeb) * [`oclif-dev publish:macos`](#oclif-dev-publishmacos) * [`oclif-dev publish:win`](#oclif-dev-publishwin) * [`oclif-dev readme`](#oclif-dev-readme)

oclif-dev help [COMMAND]

display help for oclif-dev

USAGE
  $ oclif-dev help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

oclif-dev manifest [PATH]

generates plugin manifest json

USAGE
  $ oclif-dev manifest [PATH]

ARGUMENTS
  PATH  [default: .] path to plugin

See code: src/commands/manifest.ts

oclif-dev pack

packages oclif cli into tarballs

USAGE
  $ oclif-dev pack

OPTIONS
  -r, --root=root        (required) [default: .] path to oclif CLI root
  -t, --targets=targets  comma-separated targets to pack (e.g.: linux-arm,win32-x64)
  --[no-]xz              also build xz

DESCRIPTION
  This can be used to create oclif CLIs that use the system node or that come preloaded with a node binary.

See code: src/commands/pack/index.ts

oclif-dev pack:deb

pack CLI into debian package

USAGE
  $ oclif-dev pack:deb

OPTIONS
  -r, --root=root  (required) [default: .] path to oclif CLI root

See code: src/commands/pack/deb.ts

oclif-dev pack:macos

pack CLI into MacOS .pkg

USAGE
  $ oclif-dev pack:macos

OPTIONS
  -r, --root=root  (required) [default: .] path to oclif CLI root

See code: src/commands/pack/macos.ts

oclif-dev pack:win

create windows installer from oclif CLI

USAGE
  $ oclif-dev pack:win

OPTIONS
  -r, --root=root  (required) [default: .] path to oclif CLI root

See code: src/commands/pack/win.ts

oclif-dev publish

publish an oclif CLI to S3

USAGE
  $ oclif-dev publish

OPTIONS
  -r, --root=root  (required) [default: .] path to oclif CLI root

DESCRIPTION
  "aws-sdk" will need to be installed as a devDependency to publish.

See code: src/commands/publish/index.ts

oclif-dev publish:deb

publish deb package built with pack:deb

USAGE
  $ oclif-dev publish:deb

OPTIONS
  -r, --root=root  (required) [default: .] path to oclif CLI root

See code: src/commands/publish/deb.ts

oclif-dev publish:macos

publish macos installers built with pack:macos

USAGE
  $ oclif-dev publish:macos

OPTIONS
  -r, --root=root  (required) [default: .] path to oclif CLI root

See code: src/commands/publish/macos.ts

oclif-dev publish:win

publish windows installers built with pack:win

USAGE
  $ oclif-dev publish:win

OPTIONS
  -r, --root=root  (required) [default: .] path to oclif CLI root

See code: src/commands/publish/win.ts

oclif-dev readme

adds commands to README.md in current directory

USAGE
  $ oclif-dev readme

OPTIONS
  --dir=dir  (required) [default: docs] output directory for multi docs
  --multi    create a different markdown page for each topic

DESCRIPTION
  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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free