Lines Matching refs:west
1 # check if we are currently in a west workspace
4 # return 0 if in west workspace
7 west topdir &>/dev/null
36 # argv[n] are the arguments to count, if not specified will count all arguments after 'west <comman…
120 # we don't want the command completion when doing `west help <cmd>`
150 set projects (west "-z $zephyr_base" list --format="{name}")
152 set projects (west list --format="{name}")
158 # return the list of available west commands
160 set -l builtin_cmds "init" "create a west repository" \
161 "update" "update projects described in west manifest" \
163 "manifest" "manage the west manifest" \
169 "help" "get help for west or a command"
213 if test -d $tmp_path/.west
227 west-topdir "$ZEPHYR_BASE" 0
234 set -l config (cat $west_topdir/.west/config)
276 echo (__zephyr_west_topdir)/.west/fish/$manifest_path_hash
309 set -l boards (west boards --format="{name}|{qualifiers}|{vendor}" 2> /dev/null)
337 complete -c west -f
340 complete -c west -n "__zephyr_west_exclude -h --help" -o h -l help -d "show help"
341 complete -c west -o v -l verbose -d "enable verbosity"
342 complete -c west -n "__zephyr_west_exclude -V --version" -o V -l version -d "print version"
343 complete -c west -n "__zephyr_west_exclude -z --zephyr-base; or __zephyr_west_is_last_token -z --ze…
346 complete -c west -n __zephyr_west_use_subcommand -ra init -d "create a west workspace"
347 complete -c west -n "__zephyr_west_seen_subcommand_from init" -ra "(__zephyr_west_complete_director…
348 complete -c west -n "__zephyr_west_seen_subcommand_from init; and __zephyr_west_exclude -l --local"…
349 complete -c west -n "__zephyr_west_seen_subcommand_from init" -l mf -l manifest-file -r -d "manifes…
350 complete -c west -n "__zephyr_west_seen_subcommand_from init; and __zephyr_west_exclude -l --local"…
351 complete -c west -n "__zephyr_west_seen_subcommand_from init; and __zephyr_west_exclude -m --manife…
354 complete -c west -n __zephyr_west_use_subcommand -ra update -d "update projects described in west m…
355 complete -c west -n "__zephyr_west_seen_subcommand_from update" -ra "(__zephyr_west_complete_projec…
356 complete -c west -n "__zephyr_west_seen_subcommand_from update" -l stats -d "print performance stat…
357 complete -c west -n "__zephyr_west_seen_subcommand_from update" -l name-cache -ra "(__zephyr_west_c…
358 complete -c west -n "__zephyr_west_seen_subcommand_from update" -l path-cache -ra "(__zephyr_west_c…
359 complete -c west -n "__zephyr_west_seen_subcommand_from update" -o f -l fetch -ra "always smart" -d…
360 complete -c west -n "__zephyr_west_seen_subcommand_from update" -o o -l fetch-opt -d "fetch options"
361 complete -c west -n "__zephyr_west_seen_subcommand_from update" -o n -l narrow -d "narrow fetch"
362 complete -c west -n "__zephyr_west_seen_subcommand_from update" -o k -l keep-descendants -d "keep m…
363 complete -c west -n "__zephyr_west_seen_subcommand_from update" -o r -l rebase -d "rebase checked o…
366 complete -c west -n __zephyr_west_use_subcommand -ra list -d "print information about projects"
367 complete -c west -n "__zephyr_west_seen_subcommand_from list; and not __fish_seen_subcommand_from b…
368 complete -c west -n "__zephyr_west_seen_subcommand_from list; and not __fish_seen_subcommand_from b…
369 complete -c west -n "__zephyr_west_seen_subcommand_from list; and not __fish_seen_subcommand_from b…
370 complete -c west -n "__zephyr_west_seen_subcommand_from list; and not __fish_seen_subcommand_from b…
373 complete -c west -n __zephyr_west_use_subcommand -ra manifest -d "manage the west manifest"
374 complete -c west -n "__zephyr_west_seen_subcommand_from manifest" -l resolve -d "resolve into singl…
375 complete -c west -n "__zephyr_west_seen_subcommand_from manifest" -l freeze -d "resolve into single…
376 complete -c west -n "__zephyr_west_seen_subcommand_from manifest" -l validate -d "silently validate…
377 complete -c west -n "__zephyr_west_seen_subcommand_from manifest" -l path -d "print the path to the…
378 complete -c west -n "__zephyr_west_seen_subcommand_from manifest" -o o -l output -rF -d "output fil…
381 complete -c west -n __zephyr_west_use_subcommand -ra diff -d '"git diff" for one or more projects'
382 complete -c west -n "__zephyr_west_seen_subcommand_from diff" -ra "(__zephyr_west_complete_projects…
383 complete -c west -n "__zephyr_west_seen_subcommand_from diff" -o a -l all -d "include inactive proj…
386 complete -c west -n __zephyr_west_use_subcommand -ra status -d '"git status" for one or more projec…
387 complete -c west -n "__zephyr_west_seen_subcommand_from status" -ra "(__zephyr_west_complete_projec…
388 complete -c west -n "__zephyr_west_seen_subcommand_from status" -o a -l all -d "include inactive pr…
391 complete -c west -n __zephyr_west_use_subcommand -ra forall -d "run a command in one or more local …
392 complete -c west -n "__zephyr_west_seen_subcommand_from forall" -ra "(__zephyr_west_complete_projec…
393 complete -c west -n "__zephyr_west_seen_subcommand_from forall" -o c -x -d "command to execute"
394 complete -c west -n "__zephyr_west_seen_subcommand_from forall" -o a -l all -d "include inactive pr…
395 complete -c west -n "__zephyr_west_seen_subcommand_from forall" -o g -l group -x -d "run command on…
398 complete -c west -n __zephyr_west_use_subcommand -ra config -d "get or set config file values"
399 complete -c west -n "__zephyr_west_seen_subcommand_from config" -o l -l list -d "list all options a…
400 complete -c west -n "__zephyr_west_seen_subcommand_from config" -o d -l delete -d "delete an option…
401 complete -c west -n "__zephyr_west_seen_subcommand_from config" -o D -l delete-all -d "delete an op…
402 complete -c west -n "__zephyr_west_seen_subcommand_from config" -l system -d "system-wide file"
403 complete -c west -n "__zephyr_west_seen_subcommand_from config" -l global -d "global user-wide"
404 complete -c west -n "__zephyr_west_seen_subcommand_from config" -l local -d "this workspace's file"
407 complete -c west -n __zephyr_west_use_subcommand -a topdir -d "print the top level directory of the…
410 complete -c west -n __zephyr_west_use_subcommand -ra help -d "get help for west or a command"
411 complete -c west -n "__fish_seen_subcommand_from help; and __zephyr_west_max_args 1" -ra "(__zephyr…
416 complete -c west -n "__zephyr_west_use_subcommand; and __zephyr_west_check_if_in_workspace" -ra com…
417 complete -c west -n "__zephyr_west_seen_subcommand_from completion; and __zephyr_west_max_args 1" -…
420 complete -c west -n "__zephyr_west_use_subcommand; and __zephyr_west_check_if_in_workspace" -ra boa…
421 complete -c west -n "__zephyr_west_seen_subcommand_from boards" -o f -l format -d "format string"
422 complete -c west -n "__zephyr_west_seen_subcommand_from boards" -o n -l name -d "name regex"
423 complete -c west -n "__zephyr_west_seen_subcommand_from boards" -l arch-root -xa "(__zephyr_west_co…
424 complete -c west -n "__zephyr_west_seen_subcommand_from boards" -l board-root -xa "(__zephyr_west_c…
425 complete -c west -n "__zephyr_west_seen_subcommand_from boards" -l soc-root -xa "(__zephyr_west_com…
426 complete -c west -n "__zephyr_west_seen_subcommand_from boards" -l board -xa "(__zephyr_west_comple…
427 complete -c west -n "__zephyr_west_seen_subcommand_from boards" -l board-dir -xa "(__zephyr_west_co…
430 complete -c west -n "__zephyr_west_use_subcommand; and __zephyr_west_check_if_in_workspace" -ra bui…
431 complete -c west -n "__zephyr_west_seen_subcommand_from build" -ra "(__zephyr_west_complete_directo…
432 complete -c west -n "__zephyr_west_seen_subcommand_from build" -o b -l board -xa "(__zephyr_west_co…
433 complete -c west -n "__zephyr_west_seen_subcommand_from build" -o d -l build-dir -xa "(__zephyr_wes…
434 complete -c west -n "__zephyr_west_seen_subcommand_from build" -o f -l force -d "ignore errors and …
435 complete -c west -n "__zephyr_west_seen_subcommand_from build" -l sysbuild -d "create multi-domain …
436 complete -c west -n "__zephyr_west_seen_subcommand_from build" -l no-sysbuild -d "do not create mul…
437 complete -c west -n "__zephyr_west_seen_subcommand_from build" -o c -l cmake -d "force a cmake run"
438 complete -c west -n "__zephyr_west_seen_subcommand_from build" -l domain -d "execute build tool (ma…
439 complete -c west -n "__zephyr_west_seen_subcommand_from build" -o t -l target -d "run build system …
440 complete -c west -n "__zephyr_west_seen_subcommand_from build" -o T -l test-item -d "build based on…
441 complete -c west -n "__zephyr_west_seen_subcommand_from build" -o o -l build-opt -d "options to pas…
442 complete -c west -n "__zephyr_west_seen_subcommand_from build" -o n -l just-print -l dry-run -l rec…
443 complete -c west -n "__zephyr_west_seen_subcommand_from build" -o p -l pristine -ra "auto always ne…
446 complete -c west -n "__zephyr_west_use_subcommand; and __zephyr_west_check_if_in_workspace" -ra sig…
447 complete -c west -n "__zephyr_west_seen_subcommand_from sign" -o d -l build-dir -ra "(__zephyr_west…
448 complete -c west -n "__zephyr_west_seen_subcommand_from sign" -o q -l quiet -d "suppress non-error …
449 complete -c west -n "__zephyr_west_seen_subcommand_from sign" -o f -l force -d "ignore errors and c…
450 complete -c west -n "__zephyr_west_seen_subcommand_from sign" -o t -l tool -ra "imgtool rimage" -d …
451 complete -c west -n "__zephyr_west_seen_subcommand_from sign" -o p -l tool-path -ra "(__zephyr_west…
452 complete -c west -n "__zephyr_west_seen_subcommand_from sign" -o P -l tool-data -ra "(__zephyr_west…
453 complete -c west -n "__zephyr_west_seen_subcommand_from sign; and __zephyr_west_exclude --no-bin" -…
454 complete -c west -n "__zephyr_west_seen_subcommand_from sign; and __zephyr_west_exclude --bin" -l n…
455 complete -c west -n "__zephyr_west_seen_subcommand_from sign" -o B -l sbin -rF -d "signed .bin file…
456 complete -c west -n "__zephyr_west_seen_subcommand_from sign; and __zephyr_west_exclude --no-hex" -…
457 complete -c west -n "__zephyr_west_seen_subcommand_from sign; and __zephyr_west_exclude --hex" -l n…
458 complete -c west -n "__zephyr_west_seen_subcommand_from sign" -o H -l shex -rF -d "signed .hex file…
461 complete -c west -n "__zephyr_west_use_subcommand; and __zephyr_west_check_if_in_workspace" -ra fla…
464 complete -c west -n "__zephyr_west_use_subcommand; and __zephyr_west_check_if_in_workspace" -ra deb…
467 complete -c west -n "__zephyr_west_use_subcommand; and __zephyr_west_check_if_in_workspace" -ra deb…
470 complete -c west -n "__zephyr_west_use_subcommand; and __zephyr_west_check_if_in_workspace" -ra att…
473 complete -c west -n "__zephyr_west_seen_subcommand_from flash debug debugserver attach" -o d -l bui…
474 complete -c west -n "__zephyr_west_seen_subcommand_from flash debug debugserver attach" -o r -l run…
475 complete -c west -n "__zephyr_west_seen_subcommand_from flash debug debugserver attach" -l skip-reb…
476 complete -c west -n "__zephyr_west_seen_subcommand_from flash debug debugserver attach" -l domain -…
477 complete -c west -n "__zephyr_west_seen_subcommand_from flash debug debugserver attach" -o H -l con…
478 complete -c west -n "__zephyr_west_seen_subcommand_from flash debug debugserver attach" -l board-di…
479 complete -c west -n "__zephyr_west_seen_subcommand_from flash debug debugserver attach" -o f -l fil…
480 complete -c west -n "__zephyr_west_seen_subcommand_from flash debug debugserver attach" -o t -l fil…
481 complete -c west -n "__zephyr_west_seen_subcommand_from flash debug debugserver attach" -l elf-file…
482 complete -c west -n "__zephyr_west_seen_subcommand_from flash debug debugserver attach" -l hex-file…
483 complete -c west -n "__zephyr_west_seen_subcommand_from flash debug debugserver attach" -l bin-file…
484 complete -c west -n "__zephyr_west_seen_subcommand_from flash debug debugserver attach" -l gdb -Fr …
485 complete -c west -n "__zephyr_west_seen_subcommand_from flash debug debugserver attach" -l openocd …
486 complete -c west -n "__zephyr_west_seen_subcommand_from flash debug debugserver attach" -l openocd-…
489 complete -c west -n "__zephyr_west_use_subcommand; and __zephyr_west_check_if_in_workspace" -ra zep…
492 complete -c west -n "__zephyr_west_use_subcommand; and __zephyr_west_check_if_in_workspace" -ra spd…
493 complete -c west -n "__zephyr_west_seen_subcommand_from spdx" -o i -l init -d "initialize CMake fil…
494 complete -c west -n "__zephyr_west_seen_subcommand_from spdx" -o d -l build-dir -ra "(__zephyr_west…
495 complete -c west -n "__zephyr_west_seen_subcommand_from spdx" -o n -l namespace-prefix -rf -d "name…
496 complete -c west -n "__zephyr_west_seen_subcommand_from spdx" -o s -l spdx-dir -ra "(__zephyr_west_…
497 complete -c west -n "__zephyr_west_seen_subcommand_from spdx" -l analyze-includes -d "also analyze …
498 complete -c west -n "__zephyr_west_seen_subcommand_from spdx" -l include-sdk -d "also generate SPDX…
501 complete -c west -n "__zephyr_west_use_subcommand; and __zephyr_west_check_if_in_workspace" -ra blo…
502 complete -c west -n "__zephyr_west_seen_subcommand_from blobs; and not __fish_seen_subcommand_from …
503 complete -c west -n "__zephyr_west_seen_subcommand_from blobs; and __fish_seen_subcommand_from list…
504 complete -c west -n "__zephyr_west_seen_subcommand_from blobs; and not __fish_seen_subcommand_from …
507 complete -c west -n "__zephyr_west_use_subcommand; and __zephyr_west_check_if_in_workspace" -ra sdk…
508 complete -c west -n "__zephyr_west_seen_subcommand_from sdk; and not __fish_seen_subcommand_from li…
509 complete -c west -n "__zephyr_west_seen_subcommand_from sdk; and __fish_seen_subcommand_from instal…
510 complete -c west -n "__zephyr_west_seen_subcommand_from sdk; and __fish_seen_subcommand_from instal…
511 complete -c west -n "__zephyr_west_seen_subcommand_from sdk; and __fish_seen_subcommand_from instal…
512 complete -c west -n "__zephyr_west_seen_subcommand_from sdk; and __fish_seen_subcommand_from instal…
513 complete -c west -n "__zephyr_west_seen_subcommand_from sdk; and __fish_seen_subcommand_from instal…
514 complete -c west -n "__zephyr_west_seen_subcommand_from sdk; and __fish_seen_subcommand_from instal…
515 complete -c west -n "__zephyr_west_seen_subcommand_from sdk; and __fish_seen_subcommand_from instal…
516 complete -c west -n "__zephyr_west_seen_subcommand_from sdk; and __fish_seen_subcommand_from instal…
517 complete -c west -n "__zephyr_west_seen_subcommand_from sdk; and __fish_seen_subcommand_from instal…