Skip to content

[core] Improve perf of command module loading #835

@derekbekoe

Description

@derekbekoe

Change how command from command modules are loaded.

Currently, each command module has an init.py and these init files are loaded for each module.
However, these init files import a lot more than is needed to build up the command table (for example the azure package).

Instead, when we load command modules, we should only load what we need in order to build up the command table.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions