Add -filter to CLI listing and website docs (#967)

* Add -filter to CLI listing.

This doesn't include docs/Changelog yet, that will come shortly.

* Add changelog

* Add website docs and fix a curl output bug
This commit is contained in:
Jeff Mitchell authored and GitHub committed 2021-03-01 09:23:17 -08:00
1 parent a4005b04f3
commit 519efa6dd1
26 files changed
+199 -20

No files matched your search

@@ -92,7 +92,7 @@ var flagsMap = map[string][]string{
"delete": {"id"},
"list": {"scope-id", "recursive"},
"list": {"scope-id", "filter", "recursive"},
}
func (c *Command) Flags() *base.FlagSets {
@@ -163,6 +163,10 @@ func (c *Command) Run(args []string) int {
opts = append(opts, authmethods.WithRecursive(true))
}
if c.FlagFilter != "" {
opts = append(opts, authmethods.WithFilter(c.FlagFilter))
}
var version uint32
if ret := extraFlagsHandlingFunc(c, &opts); ret != 0 {