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

54 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2024-12-27 22:42:44 +00:00
## git-project-manager completion bash
2024-12-19 19:51:26 +00:00
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:
2024-12-27 22:42:44 +00:00
source <(git-project-manager completion bash)
2024-12-19 19:51:26 +00:00
To load completions for every new session, execute once:
#### Linux:
2024-12-27 22:42:44 +00:00
git-project-manager completion bash > /etc/bash_completion.d/git-project-manager
2024-12-19 19:51:26 +00:00
#### macOS:
2024-12-27 22:42:44 +00:00
git-project-manager completion bash > $(brew --prefix)/etc/bash_completion.d/git-project-manager
2024-12-19 19:51:26 +00:00
You will need to start a new shell for this setup to take effect.
```
2024-12-27 22:42:44 +00:00
git-project-manager completion bash
2024-12-19 19:51:26 +00:00
```
### Options
```
-h, --help help for bash
--no-descriptions disable completion descriptions
```
### Options inherited from parent commands
```
2024-12-27 22:42:44 +00:00
--config string config file (default is ~/.config/git-project-manager.yaml)
2024-12-19 19:51:26 +00:00
--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
2024-12-27 22:42:44 +00:00
* [git-project-manager completion](git-project-manager_completion.md) - Generate the autocompletion script for the specified shell
2024-12-19 19:51:26 +00:00
2025-01-01 01:51:04 +00:00
###### Auto generated by spf13/cobra on 31-Dec-2024