Skip to content

Load west_commands.yml from default locations #899

@thorsten-klein

Description

@thorsten-klein

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.:

  1. Workspace Commands from .west/west-commands.yml
  2. System-wide Commands: ~/.config/west/west-commands.yml
  3. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions