Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.52 KB

File metadata and controls

61 lines (43 loc) · 1.52 KB

coral-cli-plugin-simulate-activity

Simulate activity plugin for the Coral CLI

oclif

Usage

To install:

$ git clone [email protected]:coralproject/coral-cli-plugin-simulate-activity.git
$ cd coral-cli-plugin-simulate-activity
$ npm install
$ coral-cli plugins:link .

To update:

$ cd coral-cli-plugin-simulate-activity
$ git pull
$ coral-cli plugins:link .

Commands

coral-cli active-stream

simulate activity by posting a comment every n milliseconds

USAGE
  $ coral-cli active-stream

OPTIONS
  -d, --domain=domain      (required) domain for tenant to run command against
  -f, --file=file          (required) a file with text
  -i, --interval=interval  Interval for posting comments
  -s, --storyID=storyID    (required) the ID of the story to add a comment to

See code: src/commands/active-stream.ts

Contributing

You can add a new command in the src/commands folder. When you have modified or added a command you need to run npm run prepack before committing.