Hierarchy

  • Prompter
    • ProjectPrompter

Constructors

  • Parameters

    • prompts: {
          prompt: any;
      } = Prompts
      • prompt: any
    • interactive: boolean = true

    Returns ProjectPrompter

Properties

interactive: boolean = true
prompts: {
    prompt: any;
} = Prompts

Type declaration

  • prompt: any

Methods

  • Parameters

    • __namedParameters: Partial<SystemTools> = {}
    • prompts: {
          prompt: any;
      } = Prompts
      • prompt: any

    Returns Promise<"docker" | "podman" | "raw">

  • Parameters

    • state: Record<string, any>

    Returns Promise<void>

  • Parameters

    Returns Promise<string>

  • Parameters

    • prompts: typeof prompts = Prompts

    Returns Promise<number>

  • Returns Promise<string>

  • Parameters

    • name: string | Promise<string>

    Returns Promise<Path>

  • Parameters

    • state: Record<string, any>

    Returns Promise<void>

  • Type Parameters

    • T

    Parameters

    • message: string
    • choices: T[]

    Returns Promise<any>

  • Type Parameters

    • T

    Parameters

    • message: string
    • __namedParameters: {
          clean?: ((x) => string);
          valid?: ((x) => boolean);
      } = {}
      • Optional clean?: ((x) => string)
          • (x): string
          • Parameters

            • x: string

            Returns string

      • Optional valid?: ((x) => boolean)
          • (x): boolean
          • Parameters

            • x: string

            Returns boolean

    Returns Promise<string>

  • Parameters

    • state: Record<string, any>

    Returns Promise<void>

  • Type Parameters

    • S

    Parameters

    • state: S
    • selector: ((state) => Function | Promise<Function>)
        • (state): Function | Promise<Function>
        • Parameters

          • state: S

          Returns Function | Promise<Function>

    Returns Promise<S>

Generated using TypeDoc