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