git-project-manager/docs/gitlab-project-manager_completion_bash.md

54 lines
1.5 KiB
Markdown
Raw Normal View History

2024-12-19 19:51:26 +00:00
## gitlab-project-manager completion bash
Generate the autocompletion script for bash
### Synopsis
Generate the autocompletion script for the bash shell.
This script depends on the 'bash-completion' package.
If it is not installed already, you can install it via your OS's package manager.
To load completions in your current shell session:
source <(gitlab-project-manager completion bash)
To load completions for every new session, execute once:
#### Linux:
gitlab-project-manager completion bash > /etc/bash_completion.d/gitlab-project-manager
#### macOS:
gitlab-project-manager completion bash > $(brew --prefix)/etc/bash_completion.d/gitlab-project-manager
You will need to start a new shell for this setup to take effect.
```
gitlab-project-manager completion bash
```
### Options
```
-h, --help help for bash
--no-descriptions disable completion descriptions
```
### Options inherited from parent commands
```
--config string config file (default is ~/.config/gitlab-project-manager.yaml)
--logLevel string Default log level -- info, warn, error, debug (default "info")
--projectPath string Sets a path for local clones of projects
--remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited.
```
### SEE ALSO
* [gitlab-project-manager completion](gitlab-project-manager_completion.md) - Generate the autocompletion script for the specified shell
###### Auto generated by spf13/cobra on 19-Dec-2024