Add access review CLI commands
Add prb access-review subcommands for campaigns (create, update, delete, list, view, start, close, cancel, add/ remove source) entries (list, decide, decide-all, flag) and sources (create, update, delete, list, view). Signed-off-by: Aurélien Sibiril <81782+aureliensibiril@users.noreply.github.com>
This commit is contained in:
@@ -16,6 +16,7 @@ package root
|
||||
|
||||
import (
|
||||
"github.com/spf13/cobra"
|
||||
accessreview "go.probo.inc/probo/pkg/cmd/access-review"
|
||||
cmdapi "go.probo.inc/probo/pkg/cmd/api"
|
||||
"go.probo.inc/probo/pkg/cmd/auditlog"
|
||||
"go.probo.inc/probo/pkg/cmd/auth"
|
||||
@@ -66,6 +67,7 @@ func NewCmdRoot(f *cmdutil.Factory) *cobra.Command {
|
||||
"Disable ANSI color output (also set via NO_COLOR or TERM=dumb)",
|
||||
)
|
||||
|
||||
cmd.AddCommand(accessreview.NewCmdAccessReview(f))
|
||||
cmd.AddCommand(cmdapi.NewCmdAPI(f))
|
||||
cmd.AddCommand(auditlog.NewCmdAuditLog(f))
|
||||
cmd.AddCommand(auth.NewCmdAuth(f))
|
||||
|
||||
Reference in New Issue
Block a user