MCPcopy Create free account
hub / github.com/compozy/agh / newWorkspaceCommand

Function newWorkspaceCommand

internal/cli/workspace.go:36–48  ·  view source on GitHub ↗
(deps commandDeps)

Source from the content-addressed store, hash-verified

34)
35
36func newWorkspaceCommand(deps commandDeps) *cobra.Command {
37 cmd := &cobra.Command{
38 Use: workspaceSkillSource,
39 Short: "Manage registered workspaces",
40 }
41
42 cmd.AddCommand(newWorkspaceAddCommand(deps))
43 cmd.AddCommand(newWorkspaceListCommand(deps))
44 cmd.AddCommand(newWorkspaceInfoCommand(deps))
45 cmd.AddCommand(newWorkspaceEditCommand(deps))
46 cmd.AddCommand(newWorkspaceRemoveCommand(deps))
47 return cmd
48}
49
50func newWorkspaceAddCommand(deps commandDeps) *cobra.Command {
51 var (

Callers 1

newRootCommandFunction · 0.85

Calls 5

newWorkspaceAddCommandFunction · 0.85
newWorkspaceListCommandFunction · 0.85
newWorkspaceInfoCommandFunction · 0.85
newWorkspaceEditCommandFunction · 0.85

Tested by

no test coverage detected