Skip to content

Casks cannot generate shell completions like formulae #21482

@SMillerDev

Description

@SMillerDev

Verification

Provide a detailed description of the proposed feature

Formulae have https://docs.brew.sh/rubydoc/Formula.html#generate_completions_from_executable-instance_method to generate completions based on a command that was installed. It would be nice if casks could also do that, since they don't always ship completions as files.

What is the motivation for the feature?

People asked about it in https://github.com/orgs/goreleaser/discussions/5563

How will the feature be relevant to at least 90% of Homebrew users?

It makes cask software easier to use, which I believe to be good for all Homebrew users.

What alternatives to the feature have been considered?

Not implementing this for casks and pleading with upstreams to ship files instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedWe want help addressing this

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions