Skip to content

Shell completion that supports multiple shells #2

@roberth

Description

@roberth

First off, cool project!

I noticed this in your README:

Or even generate consistent CLIs for more than one programming language... (WIP, only bash atm).

I'd highly recommend to check out the discussion around pcapriotti/optparse-applicative#414, about the potential for a standard.
This is the third project I'm aware of that has an ambition to implement this kind of feature, which really should be a standard protocol.

The oil shell shellac attempt fizzled out, but I believe the optparse-applicative protocol I'm suggesting there holds promise because - it being line-based - it is easy to parse by any shell, and it allows arbitrary extensions to completion item metadata.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions