@ably/cli
Version:
Ably CLI for Pub/Sub, Chat and Spaces
16 lines (15 loc) • 578 B
TypeScript
import { InteractiveBaseCommand } from './interactive-base-command.js';
export declare abstract class BaseTopicCommand extends InteractiveBaseCommand {
protected abstract topicName: string;
protected abstract commandGroup: string;
static strict: boolean;
run(): Promise<void>;
/**
* Check if a command should be displayed based on web CLI and anonymous mode restrictions
*/
protected shouldDisplayCommand(commandId: string): boolean;
protected getTopicCommands(): Promise<Array<{
id: string;
description: string;
}>>;
}