@ably/cli
Version:
Ably CLI for Pub/Sub, Chat and Spaces
15 lines (14 loc) • 574 B
JavaScript
import { Command } from "@oclif/core";
export default class RoomsReactions extends Command {
static description = "Manage reactions in Ably chat rooms";
static examples = [
"$ ably rooms reactions send my-room thumbs_up",
"$ ably rooms reactions subscribe my-room",
];
async run() {
this.log("This is a placeholder. Please use a subcommand: send or subscribe");
this.log("Examples:");
this.log(" $ ably rooms reactions send my-room thumbs_up");
this.log(" $ ably rooms reactions subscribe my-room");
}
}