Skip to content

feat: Optimize auto install behavior #56

@renancaraujo

Description

@renancaraujo

Description
When auto-install is enabled (default), the CLI will try to do it upon every command execution (with the exception of completion and install-completion commands). This happens even after a successful installation.

The solution would be to cache the result of an installation trial. This cache would break upon manual execution of installation or update of the given CLI.

Requirements

  • Cache the result of an installation trial.
  • Break cache upon manual execution of installation or update of the given CLI.
  • Don't handle with cache if auto-install is disabled.

Metadata

Metadata

Assignees

Labels

featureA new feature or request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions