Skip to content

Want getCompletions to be public #2287

@gdamore

Description

@gdamore

I have an application that is using go-prompt with cobra combined, with a custom completer that is not one of the standard shells.

I'd like to be able to use the some __complete logic, but programmatically from inside the go program. It would be very much easier for me if getCompletions was a public method.

In the meantime I have to resort to something really ugly, either copy/pasting/modifying that logic, or running the __complete logic in and parsing it's output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions