Files
SlideWire/packaging/completions/slidewire.bash
T
NilsBriggenandClaude Opus 5.5 21f6dea6a1 Release machinery: metainfo, man page, completions, CI, packaging
- AppStream metainfo (validates), man page, bash/zsh/fish completions.
- scripts/install.sh installs everything into a DESTDIR; the release
  archive (scripts/release-tarball.sh) and both PKGBUILDs use it.
- packaging/aur-release: a slidewire package built from the tag.
- CI moves to .gitea/workflows: works without sudo, installs Rust with
  rustup, checks fmt, clippy, tests, extracted translations, the desktop
  file, metainfo and cargo-deny; tags build and attach the archive.
- deny.toml: licences compatible with GPL-3.0-or-later, crates.io only.
- Cargo metadata, MSRV 1.95, thin LTO and stripped release builds.
- CHANGELOG.md for 1.0.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 20:11:40 +02:00

16 lines
602 B
Bash

# bash completion for slidewire
_slidewire() {
local cur prev
cur=${COMP_WORDS[COMP_CWORD]}
prev=${COMP_WORDS[COMP_CWORD-1]}
if [[ $COMP_CWORD -eq 1 ]]; then
COMPREPLY=($(compgen -W "strips set mute bank scene --minimized --list-ports --monitor --doctor --install-icon --uninstall --write-icons --version --help" -- "$cur"))
return
fi
case ${COMP_WORDS[1]} in
mute) [[ $COMP_CWORD -eq 3 ]] && COMPREPLY=($(compgen -W "on off toggle" -- "$cur")) ;;
--write-icons) COMPREPLY=($(compgen -d -- "$cur")) ;;
esac
}
complete -F _slidewire slidewire