diff --git a/cmd/cfg.go b/cmd/cfg.go index 8c1a2325f..65c427eed 100644 --- a/cmd/cfg.go +++ b/cmd/cfg.go @@ -5,6 +5,7 @@ func init() { cmdObject := newCmdCfg() cmdObjectEdit := newCmdObjectEdit(kind) + cmdObjectInstance := newCmdObjectInstance(kind) cmdObjectSet := newCmdObjectSet(kind) cmdObjectPrint := newCmdObjectPrint(kind) cmdObjectPrintConfig := newCmdObjectPrintConfig(kind) @@ -15,6 +16,7 @@ func init() { ) cmdObject.AddCommand( cmdObjectEdit, + cmdObjectInstance, cmdObjectPrint, cmdObjectSet, cmdObjectValidate, @@ -39,6 +41,9 @@ func init() { cmdObjectEdit.AddCommand( newCmdObjectEditConfig(kind), ) + cmdObjectInstance.AddCommand( + newCmdObjectInstanceLs(kind), + ) cmdObjectPrint.AddCommand( cmdObjectPrintConfig, newCmdObjectPrintStatus(kind), diff --git a/cmd/sec.go b/cmd/sec.go index 5ab0cb90e..286d589d6 100644 --- a/cmd/sec.go +++ b/cmd/sec.go @@ -5,6 +5,7 @@ func init() { cmdObject := newCmdSec() cmdObjectEdit := newCmdObjectEdit(kind) + cmdObjectInstance := newCmdObjectInstance(kind) cmdObjectSet := newCmdObjectSet(kind) cmdObjectPrint := newCmdObjectPrint(kind) cmdObjectPrintConfig := newCmdObjectPrintConfig(kind) @@ -15,6 +16,7 @@ func init() { ) cmdObject.AddCommand( cmdObjectEdit, + cmdObjectInstance, cmdObjectPrint, cmdObjectSet, cmdObjectValidate, @@ -41,6 +43,9 @@ func init() { cmdObjectEdit.AddCommand( newCmdObjectEditConfig(kind), ) + cmdObjectInstance.AddCommand( + newCmdObjectInstanceLs(kind), + ) cmdObjectPrint.AddCommand( cmdObjectPrintConfig, newCmdObjectPrintStatus(kind), diff --git a/cmd/svc.go b/cmd/svc.go index a4301ecf7..e092795ed 100644 --- a/cmd/svc.go +++ b/cmd/svc.go @@ -12,6 +12,7 @@ func init() { cmdObjectComplianceShow := newCmdObjectComplianceShow(kind) cmdObjectComplianceList := newCmdObjectComplianceList(kind) cmdObjectEdit := newCmdObjectEdit(kind) + cmdObjectInstance := newCmdObjectInstance(kind) cmdObjectSet := newCmdObjectSet(kind) cmdObjectPrint := newCmdObjectPrint(kind) cmdObjectPrintConfig := newCmdObjectPrintConfig(kind) @@ -26,6 +27,7 @@ func init() { cmdObjectCollector, cmdObjectCompliance, cmdObjectEdit, + cmdObjectInstance, cmdObjectPrint, cmdObjectPush, cmdObjectSet, @@ -66,6 +68,9 @@ func init() { cmdObjectEdit.AddCommand( newCmdObjectEditConfig(kind), ) + cmdObjectInstance.AddCommand( + newCmdObjectInstanceLs(kind), + ) cmdObjectSet.AddCommand( newCmdObjectSetProvisioned(kind), newCmdObjectSetUnprovisioned(kind), diff --git a/cmd/usr.go b/cmd/usr.go index 2610fc4e2..6e311063a 100644 --- a/cmd/usr.go +++ b/cmd/usr.go @@ -5,6 +5,7 @@ func init() { cmdObject := newCmdUsr() cmdObjectEdit := newCmdObjectEdit(kind) + cmdObjectInstance := newCmdObjectInstance(kind) cmdObjectSet := newCmdObjectSet(kind) cmdObjectPrint := newCmdObjectPrint(kind) cmdObjectPrintConfig := newCmdObjectPrintConfig(kind) @@ -15,6 +16,7 @@ func init() { ) cmdObject.AddCommand( cmdObjectEdit, + cmdObjectInstance, cmdObjectPrint, cmdObjectSet, cmdObjectValidate, @@ -40,6 +42,9 @@ func init() { cmdObjectEdit.AddCommand( newCmdObjectEditConfig(kind), ) + cmdObjectInstance.AddCommand( + newCmdObjectInstanceLs(kind), + ) cmdObjectPrint.AddCommand( cmdObjectPrintConfig, newCmdObjectPrintStatus(kind), diff --git a/cmd/vol.go b/cmd/vol.go index 0430ff552..bbbf76c9c 100644 --- a/cmd/vol.go +++ b/cmd/vol.go @@ -7,6 +7,7 @@ func init() { cmdObjectCollector := newCmdObjectCollector(kind) cmdObjectCollectorTag := newCmdObjectCollectorTag(kind) cmdObjectEdit := newCmdObjectEdit(kind) + cmdObjectInstance := newCmdObjectInstance(kind) cmdObjectSet := newCmdObjectSet(kind) cmdObjectPrint := newCmdObjectPrint(kind) cmdObjectPrintConfig := newCmdObjectPrintConfig(kind) @@ -20,6 +21,7 @@ func init() { cmdObject.AddCommand( cmdObjectCollector, cmdObjectEdit, + cmdObjectInstance, cmdObjectPrint, cmdObjectPush, cmdObjectSet, @@ -70,6 +72,9 @@ func init() { cmdObjectEdit.AddCommand( newCmdObjectEditConfig(kind), ) + cmdObjectInstance.AddCommand( + newCmdObjectInstanceLs(kind), + ) cmdObjectSet.AddCommand( newCmdObjectSetProvisioned(kind), newCmdObjectSetUnprovisioned(kind),