Lines Matching refs:l
20 set -l tokens (commandline -opc)
41 set -l tokens (commandline -opc)
42 set -l argc (count $argv)
43 set -l max $argv[1]
44 set -l counter 0
77 set -l tokens (commandline -opc)
90 set -l tokens (commandline -opc)
98 set -l prv_idx (math $idx - 1)
116 set -l tokens (commandline -opc)
136 set -l tokens (commandline -opc)
137 set -l zephyr_base ""
138 set -l projects
160 set -l builtin_cmds "init" "create a west repository" \
170 set -l nb_builtin_cmds (count $builtin_cmds)
172 set -l ext_cmds "completion" "display shell completion scripts" \
184 set -l nb_ext_cmds (count $ext_cmds)
188 set -l desc_idx (math $idx + 1)
194 set -l desc_idx (math $idx + 1)
200 set -l cwd (pwd)
201 set -l fallback 1
208 set -l cwd_split (string split '/' $cwd)
211 set -l tmp_path (path normalize /(string join "/" $cwd_split))
232 set -l west_topdir (__zephyr_west_topdir)
234 set -l config (cat $west_topdir/.west/config)
236 set -l manifest_path ""
237 set -l manifest_file ""
239 set -l in_manifest_group 0
251 set -l tmp_manifest_path (string match -r '^path\s*=\s*(\S*)\s*$' $line)[2]
257 set -l tmp_manifest_file (string match -r '^file\s*=\s*(\S*)\s*$' $line)[2]
273 set -l manifest_path $argv[1]
274 set -l manifest_path_hash (echo "$manifest_path" | md5sum | string trim --chars=' -')
280 set -l is_cache_valid 1 # 0: invalid; 1: valid
282 set -l manifest_file (__zephyr_west_manifest_path)
283 set -l manifest_dir (path dirname "$manifest_file")
285 set -l cache_folder (__zephyr_west_get_cache_dir "$manifest_file")
286 set -l cache_file $cache_folder/fish_boards_completion.cache
288 set -l manifest_hash (git --work-tree "$manifest_dir" log -1 --pretty=format:'%H' 2> /dev/null)
301 set -l cache_manifest_hash (head -n 1 $cache_file)
309 set -l boards (west boards --format="{name}|{qualifiers}|{vendor}" 2> /dev/null)
316 set -l split_b (string split "|" $board)
317 set -l name $split_b[1]
318 set -l qualifiers $split_b[2]
319 set -l vendor $split_b[3]
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 …de -z --zephyr-base; or __zephyr_west_is_last_token -z --zephyr-base" -o z -l zephyr-base -xa "(__…
348 …_zephyr_west_seen_subcommand_from init; and __zephyr_west_exclude -l --local" -l mr -l manifest-re…
349 complete -c west -n "__zephyr_west_seen_subcommand_from init" -l mf -l manifest-file -r -d "manifes…
350 …_zephyr_west_seen_subcommand_from init; and __zephyr_west_exclude -l --local" -o m -l manifest -ra…
351 …rom init; and __zephyr_west_exclude -m --manifest --mr --manifest-rev" -o l -l local -ra "(__zephy…
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…
368 …seen_subcommand_from list; and not __fish_seen_subcommand_from blobs" -o a -l all -d "include inac…
369 …west_seen_subcommand_from list; and not __fish_seen_subcommand_from blobs" -l manifest-path-from-y…
370 …seen_subcommand_from list; and not __fish_seen_subcommand_from blobs" -o f -l format -d "format st…
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…
383 complete -c west -n "__zephyr_west_seen_subcommand_from diff" -o a -l all -d "include inactive proj…
388 complete -c west -n "__zephyr_west_seen_subcommand_from status" -o a -l all -d "include inactive pr…
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…
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"
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…
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…
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 …zephyr_west_seen_subcommand_from sign; and __zephyr_west_exclude --no-bin" -l bin -d "produce a si…
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 …zephyr_west_seen_subcommand_from sign; and __zephyr_west_exclude --no-hex" -l hex -d "produce a si…
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…
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-…
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…
504 …bcommand_from blobs; and not __fish_seen_subcommand_from fetch clean" -o f -l format -r -d "format…
509 …yr_west_seen_subcommand_from sdk; and __fish_seen_subcommand_from install" -l version -d "version …
510 …st_seen_subcommand_from sdk; and __fish_seen_subcommand_from install" -o b -l install-base -d "SDK…
511 …st_seen_subcommand_from sdk; and __fish_seen_subcommand_from install" -o d -l install-dir -d "SDK …
512 …st_seen_subcommand_from sdk; and __fish_seen_subcommand_from install" -o i -l interactive -d "inte…
513 …st_seen_subcommand_from sdk; and __fish_seen_subcommand_from install" -o t -l toolchains -d "toolc…
514 …st_seen_subcommand_from sdk; and __fish_seen_subcommand_from install" -o T -l no-toolchains -d "do…
515 …st_seen_subcommand_from sdk; and __fish_seen_subcommand_from install" -o H -l no-hosttools -d "do …
516 …yr_west_seen_subcommand_from sdk; and __fish_seen_subcommand_from install" -l personal-access-toke…
517 …yr_west_seen_subcommand_from sdk; and __fish_seen_subcommand_from install" -l api-url -d "GitHub r…