UNPKG

@ably/cli

Version:

Ably CLI for Pub/Sub, Chat and Spaces

15 lines (14 loc) 554 B
import { Command } from "@oclif/core"; export default class RoomsOccupancy extends Command { static description = "Commands for monitoring room occupancy"; static examples = [ "$ ably rooms occupancy get my-room", "$ ably rooms occupancy subscribe my-room", ]; async run() { this.log("This is a placeholder. Please use a subcommand: get or subscribe"); this.log("Examples:"); this.log(" $ ably rooms occupancy get my-room"); this.log(" $ ably rooms occupancy subscribe my-room"); } }