You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your enhancement proposal related to a problem? Please describe.
There does not seem to be a way to disable the west extensions provided by zephyr at scripts/west-commands.yml. Regardless of whether I include west-commands: scripts/west-commands.yml in my west.yml file. They seem to be automatically included.
Describe the solution you'd like
I would like to be able to disable the west extensions provided by zephyr, so that I could reuse one of the names (flash for example) in my own version of the command. I think the best solution would be if the zephyr west command extensions were only included if you included them via the manifest. But I would also be fine with alternative solutions such as adding something to disable them in either the manifest or the global .westconfig file. If I am wrong and there is a way please let me know. I did not see anything in this page https://docs.zephyrproject.org/latest/develop/west/extensions.html . It might also be nice if you could disable only specific commands from a west-commands.yml file selectively.
Describe alternatives you've considered
The only alternative for me is not using west to do the activities I need, and using my own script that calls west, or naming my extensions something less intuitive like flash2 instead of flash for example. But I don't need to change flash for all my projects just one, so I would rather keep the same workflow.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
A bit of a strange request, but west aliases could be useful here (not yet released). You can override existing commands where you can set the flash command as an alias to a custom command inside your own project.
Is your enhancement proposal related to a problem? Please describe.
There does not seem to be a way to disable the west extensions provided by zephyr at
scripts/west-commands.yml
. Regardless of whether I includewest-commands: scripts/west-commands.yml
in my west.yml file. They seem to be automatically included.Describe the solution you'd like
I would like to be able to disable the west extensions provided by zephyr, so that I could reuse one of the names (flash for example) in my own version of the command. I think the best solution would be if the zephyr west command extensions were only included if you included them via the manifest. But I would also be fine with alternative solutions such as adding something to disable them in either the manifest or the global .westconfig file. If I am wrong and there is a way please let me know. I did not see anything in this page https://docs.zephyrproject.org/latest/develop/west/extensions.html . It might also be nice if you could disable only specific commands from a
west-commands.yml
file selectively.Describe alternatives you've considered
The only alternative for me is not using west to do the activities I need, and using my own script that calls west, or naming my extensions something less intuitive like flash2 instead of flash for example. But I don't need to change flash for all my projects just one, so I would rather keep the same workflow.
Additional context
N/A
The text was updated successfully, but these errors were encountered: