git-project-manager/docs/git-project-manager_completion_bash.md
Ryan McGuire c78c41f567
All checks were successful
Build and Publish / release (push) Successful in 1m10s
Rename project to git-project-manager
2024-12-27 17:42:44 -05:00

54 lines
1.5 KiB
Markdown

## git-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 <(git-project-manager completion bash)
To load completions for every new session, execute once:
#### Linux:
git-project-manager completion bash > /etc/bash_completion.d/git-project-manager
#### macOS:
git-project-manager completion bash > $(brew --prefix)/etc/bash_completion.d/git-project-manager
You will need to start a new shell for this setup to take effect.
```
git-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/git-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
* [git-project-manager completion](git-project-manager_completion.md) - Generate the autocompletion script for the specified shell
###### Auto generated by spf13/cobra on 27-Dec-2024