Skip to content

Shell completions don't work #684

Description

@chovanecadam

Please provide a set of steps on how to reproduce the issue

source <(grype-db completion bash)
# complete: usage: complete [-abcdefgjksuv] [-pr] [-DEI] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [name ...]

Typing grype-db and pressing TAB results in a few more errors.

What happened:

Error message shown.

What you expected to happen:

Completions working.

Environment:

  • Output of grype-db version: latest release, 0.41.0, commit 72bbdd7
  • OS (e.g: cat /etc/os-release or similar): Arch

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status
    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions