CLI referenceSetup
bl completion
Generate the autocompletion script for bl for the specified shell. See each sub-command's help for details on how to use the generated script.
Generate the autocompletion script for bl for the specified shell. See each sub-command's help for details on how to use the generated script.
Usage
bl completion [command]Global flags
| Flag | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
-v, --verbose | Enable debug logging |
bl completion bash
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 <(bl completion bash)
To load completions for every new session, execute once:
#### Linux:
bl completion bash > /etc/bash_completion.d/bl
#### macOS:
bl completion bash > $(brew --prefix)/etc/bash_completion.d/bl
You will need to start a new shell for this setup to take effect.Usage
bl completion bashFlags
| Flag | Description |
|---|---|
--no-descriptions | disable completion descriptions |
Global flags
| Flag | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
-v, --verbose | Enable debug logging |
bl completion fish
Generate the autocompletion script for the fish shell.
To load completions in your current shell session:
bl completion fish | source
To load completions for every new session, execute once:
bl completion fish > ~/.config/fish/completions/bl.fish
You will need to start a new shell for this setup to take effect.Usage
bl completion fish [flags]Flags
| Flag | Description |
|---|---|
--no-descriptions | disable completion descriptions |
Global flags
| Flag | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
-v, --verbose | Enable debug logging |
bl completion powershell
Generate the autocompletion script for powershell.
To load completions in your current shell session:
bl completion powershell | Out-String | Invoke-Expression
To load completions for every new session, add the output of the above command
to your powershell profile.Usage
bl completion powershell [flags]Flags
| Flag | Description |
|---|---|
--no-descriptions | disable completion descriptions |
Global flags
| Flag | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
-v, --verbose | Enable debug logging |
bl completion zsh
Generate the autocompletion script for the zsh shell.
If shell completion is not already enabled in your environment you will need
to enable it. You can execute the following once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
To load completions in your current shell session:
source <(bl completion zsh)
To load completions for every new session, execute once:
#### Linux:
bl completion zsh > "${fpath[1]}/_bl"
#### macOS:
bl completion zsh > $(brew --prefix)/share/zsh/site-functions/_bl
You will need to start a new shell for this setup to take effect.Usage
bl completion zsh [flags]Flags
| Flag | Description |
|---|---|
--no-descriptions | disable completion descriptions |
Global flags
| Flag | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
-v, --verbose | Enable debug logging |