UNPKG

@ably/cli

Version:

Ably CLI for Pub/Sub, Chat and Spaces

11 lines (10 loc) 415 B
import { BaseTopicCommand } from '../../base-topic-command.js'; export default class ChannelsOccupancy extends BaseTopicCommand { topicName = 'channels:occupancy'; commandGroup = 'channel occupancy'; static description = 'Get occupancy metrics for a channel'; static examples = [ '$ ably channels occupancy get my-channel', '$ ably channels occupancy subscribe my-channel', ]; }