mise API - v0.0.0
    Preparing search index...

    Function repl_questionPath

    • Asks for a location through the active surface.

      The anchor is a fact the kernel knows — the session's own cwd, the directory a command is already working in — never a directory invented for the occasion, since inventing one means creating it behind the operator's back.

      Parameters

      • prompt: string

        The question string to display.

      • details: { anchor?: string; suggest?: string; wantsDirectory: boolean }

        Where to start, whether a directory is wanted, and a basename to offer.

      • Optionalcommit: string

        The word the committing control should read.

      Returns Promise<string>

      The location the operator gave.