Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
27
def
input_default(prompt, default=
""
):
28
str = input(f
"{prompt} [{default}]: "
)
29
if
str ==
""
:
30
return
default
31
return
str
32
33
34
def
is_valid_slug(slug):
Callers
2
create_manifest
Function · 0.85
create_module
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected