UNPKG

@commercelayer/cli-dev

Version:
28 lines (27 loc) 1.25 kB
import { Command, type Interfaces } from '@oclif/core'; export default class Readme extends Command { static description: string; static flags: { dir: Interfaces.OptionFlag<string, Interfaces.CustomOptions>; multi: Interfaces.BooleanFlag<boolean>; plugin: Interfaces.BooleanFlag<boolean>; bin: Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>; }; private HelpClass; run(): Promise<void>; replaceTag(readme: string, tag: string, body: string): string; toc(__: Interfaces.Config, readme: string): string; usage(config: Interfaces.Config): string; usagePlugin(config: Interfaces.Config): string; multiCommands(config: Interfaces.Config, commands: Command.Cached[], dir: string): string; createTopicFile(file: string, config: Interfaces.Config, topic: Interfaces.Topic, commands: Command.Cached[]): void; commands(config: Interfaces.Config, commands: Command.Cached[]): string; renderCommand(config: Interfaces.Config, c: Command.Cached): string; commandCode(config: Interfaces.Config, c: Command.Cached): string | undefined; private repo; /** * fetches the path to a command */ private commandPath; private commandUsage; }