Move alias CLI under a resource-alias command

Promote the trust-center alias subcommand to a top-level
resource-alias command so aliases can be managed for any resource
from the CLI.

Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
Bryan Frimin
2026-06-22 10:59:39 +02:00
parent 5141478083
commit 6758a1cd50
5 changed files with 27 additions and 26 deletions

View File

@@ -41,6 +41,7 @@ import (
"go.probo.inc/probo/pkg/cmd/obligation"
"go.probo.inc/probo/pkg/cmd/org"
processingactivity "go.probo.inc/probo/pkg/cmd/processing-activity"
resourcealias "go.probo.inc/probo/pkg/cmd/resource-alias"
rightsrequest "go.probo.inc/probo/pkg/cmd/rights-request"
"go.probo.inc/probo/pkg/cmd/risk"
riskassessment "go.probo.inc/probo/pkg/cmd/risk-assessment"
@@ -118,6 +119,7 @@ func NewCmdRoot(f *cmdutil.Factory) *cobra.Command {
cmd.AddCommand(rightsrequest.NewCmdRightsRequest(f))
cmd.AddCommand(risk.NewCmdRisk(f))
cmd.AddCommand(riskassessment.NewCmdRiskAssessment(f))
cmd.AddCommand(resourcealias.NewCmdResourceAlias(f))
cmd.AddCommand(scim.NewCmdScim(f))
cmd.AddCommand(soa.NewCmdSoa(f))
cmd.AddCommand(task.NewCmdTask(f))