UNPKG

@ably/cli

Version:

Ably CLI for Pub/Sub, Chat and Spaces

16 lines (15 loc) 601 B
import { Command } from "@oclif/core"; import ChannelRulesList from "../apps/channel-rules/list.js"; export default class ChannelRuleList extends Command { static args = ChannelRulesList.args; static description = 'Alias for "ably apps channel-rules list"'; static flags = ChannelRulesList.flags; static hidden = true; // Special property to identify this as an alias command static isAlias = true; async run() { // Forward to the channel-rules list command const command = new ChannelRulesList(this.argv, this.config); await command.run(); } }