MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / detectWorkspaceCommands

Function detectWorkspaceCommands

internal/cli/workspace_context_detect.go:97–108  ·  view source on GitHub ↗
(info ProjectInfo)

Source from the content-addressed store, hash-verified

95}
96
97func detectWorkspaceCommands(info ProjectInfo) *models.WorkspaceCommands {
98 return &models.WorkspaceCommands{
99 Setup: info.SetupCmd,
100 Build: info.BuildCmd,
101 Test: info.TestCmd,
102 Lint: info.LintCmd,
103 Dev: info.DevCmd,
104 Start: info.DevCmd,
105 Web: info.WebBuildCmd,
106 Format: "",
107 }
108}
109
110func detectWorkspaceDeployment(cfg *config.Config) *models.WorkspaceDeployment {
111 if cfg == nil {

Callers 1

BuildWorkspaceContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected