syft/resources/shell-completion.sh
Dan Luhring 4c7784da62
Add shell completion script (#131)
Signed-off-by: Dan Luhring <dan.luhring@anchore.com>
2020-08-10 09:31:02 -04:00

6 lines
175 B
Bash

#!/usr/bin/env bash
# Source this file in your shell sessions in order to use this shell completion.
complete -W "$(docker images --format '{{.Repository}}:{{.Tag}}')" syft