@ably/cli
Version:
Ably CLI for Pub/Sub, Chat and Spaces
16 lines (15 loc) • 617 B
JavaScript
import { Command } from "@oclif/core";
import ChannelRulesDelete from "../apps/channel-rules/delete.js";
export default class ChannelRuleDelete extends Command {
static args = ChannelRulesDelete.args;
static description = 'Alias for "ably apps channel-rules delete"';
static flags = ChannelRulesDelete.flags;
static hidden = true;
// Special property to identify this as an alias command
static isAlias = true;
async run() {
// Forward to the channel-rules delete command
const command = new ChannelRulesDelete(this.argv, this.config);
await command.run();
}
}