MCPcopy Create free account
hub / github.com/VCVRack/Rack / input_default

Function input_default

helper.py:27–31  ·  view source on GitHub ↗
(prompt, default="")

Source from the content-addressed store, hash-verified

25 return f
26
27def input_default(prompt, default=""):
28 str = input(f"{prompt} [{default}]: ")
29 if str == "":
30 return default
31 return str
32
33
34def is_valid_slug(slug):

Callers 2

create_manifestFunction · 0.85
create_moduleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected