@ably/cli
Version:
Ably CLI for Pub/Sub, Chat and Spaces
15 lines (14 loc) • 627 B
JavaScript
import { Command } from "@oclif/core";
export default class SpacesMembers extends Command {
static description = "Commands for managing members in Ably Spaces";
static examples = [
"$ ably spaces members subscribe my-space",
"$ ably spaces members enter my-space",
];
async run() {
this.log("Use one of the spaces members subcommands:");
this.log("");
this.log(" ably spaces members subscribe - Subscribe to members presence and show real-time updates");
this.log(" ably spaces members enter - Enter a space and stay present until terminated");
}
}