@ably/cli
Version:
Ably CLI for Pub/Sub, Chat and Spaces
37 lines (36 loc) • 1.91 kB
TypeScript
import { Interfaces } from "@oclif/core";
import { ChatBaseCommand } from "../../../chat-base-command.js";
export default class RoomsPresenceEnter extends ChatBaseCommand {
static args: {
room: Interfaces.Arg<string, Record<string, unknown>>;
};
static description: string;
static examples: string[];
static flags: {
"show-others": Interfaces.BooleanFlag<boolean>;
duration: Interfaces.OptionFlag<number | undefined, Interfaces.CustomOptions>;
data: Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
"access-token": Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
"api-key": Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
"client-id": Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
"control-host": Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
env: Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
endpoint: Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
host: Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
port: Interfaces.OptionFlag<number | undefined, Interfaces.CustomOptions>;
tlsPort: Interfaces.OptionFlag<number | undefined, Interfaces.CustomOptions>;
tls: Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
json: Interfaces.BooleanFlag<boolean>;
"pretty-json": Interfaces.BooleanFlag<boolean>;
token: Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
verbose: Interfaces.BooleanFlag<boolean>;
"web-cli-help": Interfaces.BooleanFlag<boolean>;
};
private chatClient;
private room;
private roomName;
private data;
private cleanupInProgress;
private commandFlags;
run(): Promise<void>;
}