Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/puma/puma-dev
/ command
Function
command
cmd/puma-dev/command.go:14–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
12
)
13
14
func
command() error {
15
switch
flag.Arg(0) {
16
case
"link"
:
17
return
link()
18
default:
19
return
fmt.Errorf(
"unknown command: %s"
, flag.Arg(0))
20
}
21
}
22
23
func
link() error {
24
fs := flag.NewFlagSet(
"link"
, flag.ExitOnError)
Callers
7
TestCommand_noCommandArg
Function · 0.85
TestCommand_badCommandArg
Function · 0.85
TestCommand_link_noArgs
Function · 0.85
TestCommand_link_withNameOverride
Function · 0.85
TestCommand_link_invalidDirectory
Function · 0.85
TestCommand_link_reassignExistingApp
Function · 0.85
execWithExitStatus
Function · 0.85
Calls
1
link
Function · 0.85
Tested by
6
TestCommand_noCommandArg
Function · 0.68
TestCommand_badCommandArg
Function · 0.68
TestCommand_link_noArgs
Function · 0.68
TestCommand_link_withNameOverride
Function · 0.68
TestCommand_link_invalidDirectory
Function · 0.68
TestCommand_link_reassignExistingApp
Function · 0.68