MCPcopy Create free account
hub / github.com/jetify-com/devbox / prompt

Function prompt

scripts/gen_cast.py:41–47  ·  view source on GitHub ↗

Print the starship-style two-line prompt.

(in_shell=False)

Source from the content-addressed store, hash-verified

39
40
41def prompt(in_shell=False):
42 """Print the starship-style two-line prompt."""
43 if in_shell:
44 emit(f"{CYAN}~{RESET} {DIM}in{RESET} \U0001F4E6 {BLUE}devbox{RESET}\r\n", 0.5)
45 else:
46 emit(f"{CYAN}~{RESET}\r\n", 0.5)
47 emit(f"{GREEN}❯{RESET} ", 0.15)
48
49
50def type_cmd(cmd):

Callers 1

gen_cast.pyFile · 0.85

Calls 1

emitFunction · 0.85

Tested by

no test coverage detected