SDL CLI command to generate sdlcli shell completion file for bash 20/7520/4
authorPetri Ovaska <petri.ovaska@nokia.com>
Mon, 10 Jan 2022 13:56:47 +0000 (15:56 +0200)
committerPetri Ovaska <petri.ovaska@nokia.com>
Thu, 13 Jan 2022 08:32:45 +0000 (10:32 +0200)
commit644e678612dbb9645da865d3d0d459a4570aa2af
treef0a60bee89d70937097a02e82249156424068939
parent7e262d4f4e530aec98903e99b195d9e2d07dbcb0
SDL CLI command to generate sdlcli shell completion file for bash

Output shell completion code for the bash shell.

 Usage:
   sdlcli completion bash

Added a new SDL CLI 'completion' command to generate auto-complete
file for the bash shells.

Version: 0.9.4

Issue-Id: RIC-874
Change-Id: Id5a5d14cfe3c5eb2a7815439c5b2a9b94271a2bd
Signed-off-by: Petri Ovaska <petri.ovaska@nokia.com>
docs/release-notes.rst
internal/cli/cli_private_fn_test.go
internal/cli/completion.go [new file with mode: 0644]
internal/cli/completion_test.go [new file with mode: 0644]