treemand completion

Generate shell completion scripts for bash, zsh, fish, or PowerShell. Once set up, pressing Tab after treemand suggests CLIs you’ve already explored from the cache.

treemand completion demo

Setup

Bash

# Add to ~/.bashrc
source <(treemand completion bash)

Zsh

# Add to ~/.zshrc
source <(treemand completion zsh)

Fish

treemand completion fish > ~/.config/fish/completions/treemand.fish

PowerShell

# Add to your PowerShell profile
treemand completion powershell | Out-String | Invoke-Expression

How it works

The completion script hooks into your shell’s completion system. When you type treemand [Tab], it suggests CLI names from the discovery cache โ€” so the more CLIs you explore, the more useful tab-completion becomes.

treemand git[Tab]        # โ†’ git
treemand kube[Tab]       # โ†’ kubectl (if you've explored it before)