Files
NilsBriggenandClaude Opus 5.5 d4e1fbe87d CLI: scenes, banks, profiles, mic, JSON, real volume
- Strips can be named by the label you gave them; names ignore case.
- New: mic, banks, scenes, scene save, profile, profiles, state (JSON).
- --json for strips, banks, scenes and profiles.
- set --volume sets the volume itself, through the strip's range and curve.
- bank N checks N against the profile's banks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 09:17:50 +02:00

28 lines
2.3 KiB
Fish

# fish completion for slidewire
set -l commands strips set mute mic bank banks scene scenes profile profiles state
complete -c slidewire -f
complete -c slidewire -n "not __fish_seen_subcommand_from $commands" -a strips -d 'List strips with volume and assignment'
complete -c slidewire -n "not __fish_seen_subcommand_from $commands" -a set -d "Set or change a strip's volume"
complete -c slidewire -n "not __fish_seen_subcommand_from $commands" -a mute -d 'Mute or unmute a strip'
complete -c slidewire -n "not __fish_seen_subcommand_from $commands" -a bank -d 'Switch to a bank'
complete -c slidewire -n "not __fish_seen_subcommand_from $commands" -a scene -d 'Recall or save a scene'
complete -c slidewire -n "not __fish_seen_subcommand_from $commands" -a mic -d 'Mute or unmute the microphone'
complete -c slidewire -n "not __fish_seen_subcommand_from $commands" -a banks -d 'Show the current bank'
complete -c slidewire -n "not __fish_seen_subcommand_from $commands" -a scenes -d 'List scenes'
complete -c slidewire -n "not __fish_seen_subcommand_from $commands" -a profile -d 'Switch profile'
complete -c slidewire -n "not __fish_seen_subcommand_from $commands" -a profiles -d 'List profiles'
complete -c slidewire -n "not __fish_seen_subcommand_from $commands" -a state -d 'Everything as JSON'
complete -c slidewire -n "__fish_seen_subcommand_from mute mic" -a 'on off toggle'
complete -c slidewire -n "__fish_seen_subcommand_from scene" -a save -d 'Save the strips as a scene'
complete -c slidewire -n "__fish_seen_subcommand_from set" -l volume -d "Set the volume itself, through the strip's range"
complete -c slidewire -n "__fish_seen_subcommand_from strips scenes banks profiles" -l json -d 'Print JSON'
complete -c slidewire -l minimized -d 'Start in the tray'
complete -c slidewire -l list-ports -d 'List MIDI ports'
complete -c slidewire -l monitor -d 'Print incoming MIDI'
complete -c slidewire -l doctor -d "Check why a controller doesn't show up"
complete -c slidewire -l install-icon -d 'Install a menu entry and icons'
complete -c slidewire -l uninstall -d 'Remove the menu entry, icons and autostart'
complete -c slidewire -l write-icons -r -a '(__fish_complete_directories)' -d 'Write theme icons'
complete -c slidewire -s V -l version -d 'Print the version'
complete -c slidewire -s h -l help -d 'Show help'