scripts: west_commands: completion: Add hwmv2 complete to bash

Adds hwmv2 board completetion support to bash

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-02-22 12:20:52 +00:00
committed by Carles Cufi
parent 396b6bb856
commit 686a4b78b8

View File

@@ -392,7 +392,8 @@ __set_comp_west_projs()
__set_comp_west_boards()
{
__set_comp "$(__west_x boards --format={name} "$@")"
boards="$(__west_x boards --format={identifiers} "$@")\n$(__west_x boards --format={name} "$@")"
__set_comp ${boards//,/\ }
}
__comp_west_west()