Skip to content

Enhancement: Speed up completion in non-immersive mode #1316

Description

@waldekmastykarz

There is a noticeable delay when requesting command completion in non-immersive mode, eg. typing in the shell o365 spo[TAB]. This delayed is caused by the completion being a part of the CLI and loading a big portion of the CLI and its dependencies, each time completion is requested. We could significantly decrease the delay, by separating out the completion feature, which is driven by a static list of CLI's commands anyway, and which doesn't depend on any CLI feature. That way, whenever the completion is request, only Omelette, which drives the completion and the list of commands will be loaded, and nothing else.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions