Simulate activity plugin for the Coral CLI
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 .
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
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.