Skip to content

[QUESTION] Is possible to programatically install autocompletion? #254

Description

@ferreteleco

First check

  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the Typer documentation, with the integrated search.
  • I already searched in Google "How to X in Typer" and didn't find any information.
  • I already searched in Google "How to X in Click" and didn't find any information.

Description

Is it possible / would it be possible to programatically install completions (for example during pip install ) in order to exclude --install-completion / --show-completion from CLI options?

Additional context

The use case is the following: an app delivered to a customer as much auto-configured as possible, since its technical knowledge / ability is limited and the motto for me here is providing software as simple as possible, therefore keeping only bare minimum configuration options without losing functionality.

Scenario:

cmd / bash shells (Win10 and Ubuntu 20.04).

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion or problem

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions