Skip to content

Commit

Permalink
Merge pull request #100 from hashicorp/actions/remove-commands
Browse files Browse the repository at this point in the history
Actions/Agents: Remove commands from release
  • Loading branch information
briancain authored May 31, 2024
2 parents 25cf930 + 1d6c7aa commit fe33862
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .changelog/100.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:breaking-change
Removing waypoint actions and agents sub-command
```
9 changes: 4 additions & 5 deletions internal/commands/waypoint/waypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
package waypoint

import (
"github.com/hashicorp/hcp/internal/commands/waypoint/actions"
addon "github.com/hashicorp/hcp/internal/commands/waypoint/add-ons"
"github.com/hashicorp/hcp/internal/commands/waypoint/agent"
"github.com/hashicorp/hcp/internal/commands/waypoint/applications"
"github.com/hashicorp/hcp/internal/commands/waypoint/templates"
"github.com/hashicorp/hcp/internal/commands/waypoint/tfcconfig"
Expand All @@ -17,7 +15,7 @@ import (
func NewCmdWaypoint(ctx *cmd.Context) *cmd.Command {
cmd := &cmd.Command{
Name: "waypoint",
ShortHelp: "Manage Waypoint.",
ShortHelp: "Manage HCP Waypoint.",
LongHelp: heredoc.New(ctx.IO).Must(`
The {{ template "mdCodeOrBold" "hcp waypoint" }} command group lets you
manage HCP Waypoint resources through the CLI. These commands let you to interact
Expand All @@ -26,8 +24,9 @@ func NewCmdWaypoint(ctx *cmd.Context) *cmd.Command {
}

cmd.AddChild(tfcconfig.NewCmdTFCConfig(ctx))
cmd.AddChild(actions.NewCmdActionConfig(ctx))
cmd.AddChild(agent.NewCmdAgent(ctx))
// TODO: Enable later
// cmd.AddChild(actions.NewCmdActionConfig(ctx))
// cmd.AddChild(agent.NewCmdAgent(ctx))
cmd.AddChild(templates.NewCmdTemplate(ctx))
cmd.AddChild(addon.NewCmdAddOn(ctx))
cmd.AddChild(applications.NewCmdApplications(ctx))
Expand Down

0 comments on commit fe33862

Please sign in to comment.