Skip to main content
Version: 1.1.0

blobber completion

Generate shell auto-completion scripts.

Synopsis

blobber completion <shell> [flags]

Description

Generates auto-completion scripts for blobber commands, flags, and arguments. The generated script enables tab completion in your shell.

Supported shells:

  • bash - Bash shell
  • zsh - Z shell
  • fish - Fish shell
  • powershell - PowerShell

Subcommands

SubcommandDescription
bashGenerate completion script for Bash
zshGenerate completion script for Zsh
fishGenerate completion script for Fish
powershellGenerate completion script for PowerShell

Flags

FlagTypeDefaultDescription
--no-descriptionsboolfalseDisable completion descriptions

Output

Outputs the completion script to stdout. Redirect to a file for permanent installation.

Dynamic Completions

The generated script enables dynamic completions that query registries at runtime:

ContextCompletion
Image reference with :Available tags from the registry
File path argumentFiles within the referenced image
DirectoriesLocal filesystem directories

Tag lists are cached for 30 seconds to improve performance.

Examples

Generate and source immediately (Bash):

source <(blobber completion bash)

Generate and save to file (Zsh):

blobber completion zsh > ~/.zsh/completions/_blobber

Generate without descriptions:

blobber completion bash --no-descriptions

Exit Codes

CodeDescription
0Success
1Invalid shell name

See Also