MCPcopy Create free account
hub / github.com/Scriptim/bash-prompt-generator / readUnparameterized

Function readUnparameterized

src/lib/promptParser.ts:38–59  ·  view source on GitHub ↗

* Tries to read an unparameterized prompt element from the given position in the given prompt string. * * @param ps1 The prompt string given by the user. * @param cursor The position in the prompt string to start reading from. * @returns The prompt element that was read and the cursor position a

(ps1: string, cursor: number)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parsePromptFunction · 0.85

Calls 1

Tested by

no test coverage detected