SDL CLI 'get namespaces' -command key count 28/7128/2
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Thu, 25 Nov 2021 22:57:59 +0000 (00:57 +0200)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Fri, 26 Nov 2021 14:24:08 +0000 (16:24 +0200)
commit5a95c20a91a868ebf7ddc1350ec918d65780f70c
tree90dae9d41c2ff9ab975819838f5f32baec08d406
parent7223d7d3c1b72585c0c991ae30472a57359020e4
SDL CLI 'get namespaces' -command key count

Change existing -g,--group flag to -w,--wide flag. When the flag has
been set, command shows DB namespaces per SDL cluster group address
and how many DB keys there are per namespace.
New command syntax is:
    sdlcli get namespaces [flags]
Where supported flags are: -w, --wide, -h and --help.

Issue-Id: RIC-113

Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Iae0b044257a5e26e6cfaa48e2a5dca8441c23d5c
internal/cli/namespaces.go
internal/cli/namespaces_test.go
internal/cli/types.go