@@ -2,8 +2,11 @@ package rules
22
33import (
44 "github.com/spf13/cobra"
5+ "github.com/stackitcloud/stackit-cli/internal/cmd/ufw/rules/create"
6+ "github.com/stackitcloud/stackit-cli/internal/cmd/ufw/rules/delete"
57 "github.com/stackitcloud/stackit-cli/internal/cmd/ufw/rules/describe"
68 "github.com/stackitcloud/stackit-cli/internal/cmd/ufw/rules/list"
9+ "github.com/stackitcloud/stackit-cli/internal/cmd/ufw/rules/update"
710 "github.com/stackitcloud/stackit-cli/internal/pkg/args"
811 "github.com/stackitcloud/stackit-cli/internal/pkg/types"
912 "github.com/stackitcloud/stackit-cli/internal/pkg/utils"
@@ -13,7 +16,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
1316 cmd := & cobra.Command {
1417 Use : "rules" ,
1518 Short : "Provides functionality for UFW rules" ,
16- Long : "Provides functionality for UFW rules." ,
19+ Long : "Provides functionality for STACKIT Unified Firewall ( UFW) rules." ,
1720 Args : args .NoArgs ,
1821 Run : utils .CmdHelp ,
1922 }
@@ -24,7 +27,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
2427func addSubcommands (cmd * cobra.Command , params * types.CmdParams ) {
2528 cmd .AddCommand (list .NewCmd (params ))
2629 cmd .AddCommand (describe .NewCmd (params ))
27- // cmd.AddCommand(create.NewCmd(params))
28- // cmd.AddCommand(delete.NewCmd(params))
29- // cmd.AddCommand(update.NewCmd(params))
30+ cmd .AddCommand (create .NewCmd (params ))
31+ cmd .AddCommand (delete .NewCmd (params ))
32+ cmd .AddCommand (update .NewCmd (params ))
3033}
0 commit comments