Add recursive listing to roles (#881)
This also lays the framework for adding recursive listing to the rest of the resources.
This commit is contained in:
1 parent
0629526319
commit
6b58a3317d
18 files changed
+430
-511
No files matched your search
@@ -65,6 +65,12 @@ func PopulateCommonFlags(c *base.Command, f *base.FlagSet, resourceType string,
|
||||
Target: &c.FlagHostCatalogId,
|
||||
Usage: "The host-catalog resource to use for the operation.",
|
||||
})
|
||||
case "recursive":
|
||||
f.BoolVar(&base.BoolVar{
|
||||
Name: "recursive",
|
||||
Target: &c.FlagRecursive,
|
||||
Usage: "If set, the list operation will be applied recursively into child scopes, if supported by the type.",
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user