File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,13 +110,20 @@ func NewRootCmd() *cobra.Command {
110110 cmd .AddGroup (& cobra.Group {ID : "core" , Title : "Core Commands:" })
111111 cmd .AddGroup (& cobra.Group {ID : "advanced" , Title : "Advanced Commands:" })
112112
113- if isDockerAgent () {
113+ if isDockerAgent () && ! plugin . RunningStandalone () {
114114 cmd .Use = "agent"
115115 cmd .Short = "create or run AI agents"
116116 cmd .Long = "create or run AI agents"
117117 cmd .Example = ` docker agent run ./agent.yaml
118118 docker agent run agentcatalog/pirate`
119119 }
120+ if isDockerAgent () && plugin .RunningStandalone () {
121+ cmd .Use = "docker-agent"
122+ cmd .Short = "create or run AI agents"
123+ cmd .Long = "create or run AI agents"
124+ cmd .Example = ` docker-agent run ./agent.yaml
125+ docker-agent run agentcatalog/pirate`
126+ }
120127
121128 return cmd
122129}
You can’t perform that action at this time.
0 commit comments