@ably/cli
Version:
Ably CLI for Pub/Sub, Chat and Spaces
15 lines (14 loc) • 591 B
JavaScript
import { Command } from "@oclif/core";
export default class TypingIndex extends Command {
static description = "Commands for working with typing indicators in chat rooms";
static examples = [
"$ ably rooms typing subscribe my-room",
"$ ably rooms typing keystroke my-room",
];
async run() {
this.log("Use one of the typing subcommands:");
this.log("");
this.log(" ably rooms typing subscribe - Subscribe to typing indicators in a chat room");
this.log(" ably rooms typing keystroke - Start typing in a chat room");
}
}