Expand description
linkmarks completions <shell> — emit a shell completion script.
Operator-side convenience: instead of pinning a static file in
the repo (which goes stale the moment we add or rename a flag)
we regenerate from the live Cli parser at install time. The
script is printed to stdout so the caller can pipe it anywhere.
Typical install flows:
# bash
linkmarks completions bash > ~/.local/share/bash-completion/completions/linkmarks
# zsh (add to fpath, then `compinit`)
linkmarks completions zsh > "${fpath[1]}/_linkmarks"
# fish
linkmarks completions fish > ~/.config/fish/completions/linkmarks.fish
# powershell
linkmarks completions powershell > "$HOME\Documents\PowerShell\Completion\linkmarks.ps1"Structs§
- Completions
Args - Arguments for
linkmarks completions.
Functions§
- run
- Print a completion script for
args.shellto stdout.