@ably/cli
Version:
Ably CLI for Pub/Sub, Chat and Spaces
12 lines (11 loc) • 482 B
JavaScript
import { BaseTopicCommand } from "../../base-topic-command.js";
export default class RoomsIndex extends BaseTopicCommand {
topicName = "rooms";
commandGroup = "Chat rooms";
static description = "Interact with Ably Chat rooms";
static examples = [
"<%= config.bin %> <%= command.id %> list",
'<%= config.bin %> <%= command.id %> messages send my-room "Hello world!"',
"<%= config.bin %> <%= command.id %> messages subscribe my-room",
];
}