UNPKG

@ably/cli

Version:

Ably CLI for Pub/Sub, Chat and Spaces

26 lines (25 loc) 1.07 kB
import { Command, Help, Config, Interfaces } from "@oclif/core"; import { ConfigManager } from "./services/config-manager.js"; export default class CustomHelp extends Help { static skipCache: boolean; protected webCliMode: boolean; protected configManager: ConfigManager; protected interactiveMode: boolean; protected anonymousMode: boolean; protected isShowingRootHelp: boolean; constructor(config: Config, opts?: Record<string, unknown>); formatHelpOutput(output: string): string; private stripAblyPrefix; private removeTrailingWhitespace; private formatCommandsSection; showCommandHelp(command: Command.Loadable): Promise<void>; showHelp(argv: string[]): Promise<void>; showRootHelp(): Promise<void>; formatRoot(): string; formatStandardRoot(): string; formatWebCliRoot(): string; formatCommand(command: Command.Loadable): string; shouldDisplay(command: Command.Loadable): boolean; formatCommands(commands: Command.Loadable[]): string; formatTopics(topics: Interfaces.Topic[]): string; }