Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit daee953

Browse files
ndeloofsilvin-lubecki
authored andcommitted
Remove completion command (#607)
* Remove `completion` command * Bump cobra dependency for better zsh completion `docker app completion` is not consistent with docker CLI replaced by `--completion` flag (hidden) Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 964210e commit daee953

File tree

14 files changed

+665
-397
lines changed

14 files changed

+665
-397
lines changed

Gopkg.lock

Lines changed: 41 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -388,31 +388,6 @@ Commands:
388388
Run 'docker app COMMAND --help' for more information on a command.
389389
```
390390
391-
## Shell completion
392-
393-
### Bash
394-
395-
Load the completion code for bash into the current shell:
396-
```console
397-
$ source <(docker app completion bash)
398-
```
399-
Set the completion code for bash to autoload on startup in your ~/.bashrc, ~/.profile or ~/.bash_profile:
400-
```console
401-
source <(docker app completion bash)
402-
```
403-
**Note**: `bash-completion` is needed.
404-
405-
### Zsh
406-
407-
Load the completion code for zsh into the current shell
408-
```console
409-
$ source <(docker app completion zsh)
410-
```
411-
Set the completion code for zsh to autoload on startup in your ~/.zshrc
412-
```console
413-
source <(docker app completion zsh)
414-
```
415-
416391
## Experimental
417392
418393
Some commands are flagged as experimental and will remain in this state until

e2e/testdata/plugin-usage-experimental.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ A tool to build and manage Docker Applications.
55

66
Commands:
77
bundle Create a CNAB invocation image and `bundle.json` for the application
8-
completion Generates completion scripts for the specified shell (bash or zsh)
98
init Initialize Docker Application definition
109
inspect Shows metadata, parameters and a summary of the Compose file for a given application
1110
install Install an application

0 commit comments

Comments
 (0)