Currently west extensions can only be loaded via a west_commands.yml list that a west manifest points at.
For users it could make sense to support also some default locations, e.g.:
- Workspace Commands from
.west/west-commands.yml
- System-wide Commands:
~/.config/west/west-commands.yml
- User commands via config option
west.commands_ymls (respectively some env variable like WEST_COMMANDS_YMLS
For 2. and 3. even no west workspace could be necessary.
This would make west really flexible, e.g. users could start using west as a simple command wrapper or frontend even if they do not use west workspaces at all.
What's your opinion on this?
Currently west extensions can only be loaded via a
west_commands.ymllist that a west manifest points at.For users it could make sense to support also some default locations, e.g.:
.west/west-commands.yml~/.config/west/west-commands.ymlwest.commands_ymls(respectively some env variable likeWEST_COMMANDS_YMLSFor 2. and 3. even no west workspace could be necessary.
This would make west really flexible, e.g. users could start using west as a simple command wrapper or frontend even if they do not use west workspaces at all.
What's your opinion on this?