generate fig autocompletion
- Dominant language
- Go
- Stars
- 9.6k
- Forks
- 954
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 42
Description
**What would you like to be added**:
**Why is this needed**:
We (w/@srenatus @anderseknert) did a [similar effort](https://github.com/withfig/autocomplete/pull/854) in OPA to add autocompletion of opa CLI in by [fig](https://github.com/withfig/autocomplete). So, let's do this for cosign too.

**Additional context**:
Contributor guide
Research direction
Start by reviewing the linked OPA autocomplete effort and the Fig autocomplete project, then compare that approach with the cosign CLI. The issue is complete when cosign has usable Fig autocompletion, but it does not name files, commands, or tests to guide implementation.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100