[INFO] fetching crate blz-cli 0.2.4... [INFO] testing blz-cli-0.2.4 against 1.90.0 for beta-1.91-2 [INFO] extracting crate blz-cli 0.2.4 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate blz-cli 0.2.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate blz-cli 0.2.4 [INFO] tweaked toml for crates.io crate blz-cli 0.2.4 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate blz-cli 0.2.4 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate blz-cli 0.2.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deadpool v0.10.0 [INFO] [stderr] Downloaded debugid v0.8.0 [INFO] [stderr] Downloaded str_stack v0.1.0 [INFO] [stderr] Downloaded findshlibs v0.10.2 [INFO] [stderr] Downloaded memmap2 v0.9.8 [INFO] [stderr] Downloaded symbolic-common v12.16.2 [INFO] [stderr] Downloaded levenshtein_automata v0.2.1 [INFO] [stderr] Downloaded ownedbytes v0.7.0 [INFO] [stderr] Downloaded protobuf-codegen v3.7.2 [INFO] [stderr] Downloaded compression-codecs v0.4.28 [INFO] [stderr] Downloaded census v0.4.2 [INFO] [stderr] Downloaded quinn-udp v0.5.13 [INFO] [stderr] Downloaded htmlescape v0.3.1 [INFO] [stderr] Downloaded lz4_flex v0.11.5 [INFO] [stderr] Downloaded oneshot v0.1.11 [INFO] [stderr] Downloaded fs4 v0.8.4 [INFO] [stderr] Downloaded tantivy-bitpacker v0.6.0 [INFO] [stderr] Downloaded tantivy-common v0.7.0 [INFO] [stderr] Downloaded tantivy-stacker v0.3.0 [INFO] [stderr] Downloaded tantivy-tokenizer-api v0.3.0 [INFO] [stderr] Downloaded measure_time v0.8.3 [INFO] [stderr] Downloaded bitpacking v0.9.2 [INFO] [stderr] Downloaded tantivy-query-grammar v0.22.0 [INFO] [stderr] Downloaded quick-xml v0.26.0 [INFO] [stderr] Downloaded tantivy v0.22.1 [INFO] [stderr] Downloaded blz-core v0.2.4 [INFO] [stderr] Downloaded clap_complete v4.5.57 [INFO] [stderr] Downloaded tantivy-fst v0.5.0 [INFO] [stderr] Downloaded security-framework v3.3.0 [INFO] [stderr] Downloaded async-compression v0.4.28 [INFO] [stderr] Downloaded inferno v0.11.21 [INFO] [stderr] Downloaded tantivy-columnar v0.3.0 [INFO] [stderr] Downloaded protobuf-parse v3.7.2 [INFO] [stderr] Downloaded tree-sitter v0.24.7 [INFO] [stderr] Downloaded dialoguer v0.11.0 [INFO] [stderr] Downloaded protobuf-support v3.7.2 [INFO] [stderr] Downloaded protobuf v3.7.2 [INFO] [stderr] Downloaded symbolic-demangle v12.16.2 [INFO] [stderr] Downloaded compression-core v0.4.28 [INFO] [stderr] Downloaded fastdivide v0.4.2 [INFO] [stderr] Downloaded tree-sitter-md v0.3.2 [INFO] [stderr] Downloaded cpp_demangle v0.4.4 [INFO] [stderr] Downloaded pprof v0.15.0 [INFO] [stderr] Downloaded wiremock v0.6.4 [INFO] [stderr] Downloaded tantivy-sstable v0.3.0 [INFO] [stderr] Downloaded murmurhash32 v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d7f5324421f57812aab1bb2e229bea622301b8f2b70ed01c168f218c0c3ae52 [INFO] running `Command { std: "docker" "start" "-a" "0d7f5324421f57812aab1bb2e229bea622301b8f2b70ed01c168f218c0c3ae52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d7f5324421f57812aab1bb2e229bea622301b8f2b70ed01c168f218c0c3ae52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d7f5324421f57812aab1bb2e229bea622301b8f2b70ed01c168f218c0c3ae52", kill_on_drop: false }` [INFO] [stdout] 0d7f5324421f57812aab1bb2e229bea622301b8f2b70ed01c168f218c0c3ae52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cfb0a91c57f3add4f9f7b50518f73ae3c668579f7381bf504b6ada60ef61a4e [INFO] running `Command { std: "docker" "start" "-a" "3cfb0a91c57f3add4f9f7b50518f73ae3c668579f7381bf504b6ada60ef61a4e", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling ownedbytes v0.7.0 [INFO] [stderr] Compiling bitpacking v0.9.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tantivy-bitpacker v0.6.0 [INFO] [stderr] Compiling tantivy-fst v0.5.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling compression-core v0.4.28 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling murmurhash32 v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling fastdivide v0.4.2 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling tree-sitter v0.24.7 [INFO] [stderr] Compiling tree-sitter-md v0.3.2 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling fs4 v0.8.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling sketches-ddsketch v0.2.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling compression-codecs v0.4.28 [INFO] [stderr] Compiling tantivy-tokenizer-api v0.3.0 [INFO] [stderr] Compiling measure_time v0.8.3 [INFO] [stderr] Compiling tantivy-common v0.7.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling async-compression v0.4.28 [INFO] [stderr] Compiling tantivy-query-grammar v0.22.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling tantivy-stacker v0.3.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling oneshot v0.1.11 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling levenshtein_automata v0.2.1 [INFO] [stderr] Compiling lz4_flex v0.11.5 [INFO] [stderr] Compiling census v0.4.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling sysinfo v0.32.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling blz-cli v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling clap_complete v4.5.57 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling tantivy-sstable v0.3.0 [INFO] [stderr] Compiling tantivy-columnar v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling tantivy v0.22.1 [INFO] [stderr] Compiling blz-core v0.2.4 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "3cfb0a91c57f3add4f9f7b50518f73ae3c668579f7381bf504b6ada60ef61a4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cfb0a91c57f3add4f9f7b50518f73ae3c668579f7381bf504b6ada60ef61a4e", kill_on_drop: false }` [INFO] [stdout] 3cfb0a91c57f3add4f9f7b50518f73ae3c668579f7381bf504b6ada60ef61a4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b9b408d7f033e8a2657d452b60c83301eca10c23537d031d2a89b49b16bd964 [INFO] running `Command { std: "docker" "start" "-a" "1b9b408d7f033e8a2657d452b60c83301eca10c23537d031d2a89b49b16bd964", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling deadpool v0.10.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling tantivy v0.22.1 [INFO] [stderr] Compiling tree-sitter v0.24.7 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling wiremock v0.6.4 [INFO] [stderr] Compiling blz-core v0.2.4 [INFO] [stderr] Compiling blz-cli v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 43.86s [INFO] running `Command { std: "docker" "inspect" "1b9b408d7f033e8a2657d452b60c83301eca10c23537d031d2a89b49b16bd964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b9b408d7f033e8a2657d452b60c83301eca10c23537d031d2a89b49b16bd964", kill_on_drop: false }` [INFO] [stdout] 1b9b408d7f033e8a2657d452b60c83301eca10c23537d031d2a89b49b16bd964 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 91e3117f9e1e8f7a457a0176fb4bfcd9845d26c32ecc007ca2f3bd2a0c9855d8 [INFO] running `Command { std: "docker" "start" "-a" "91e3117f9e1e8f7a457a0176fb4bfcd9845d26c32ecc007ca2f3bd2a0c9855d8", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/blz-e7b282f5c2146eca) [INFO] [stdout] [INFO] [stdout] running 50 tests [INFO] [stdout] test commands::search::tests::test_div_ceil_safety ... ok [INFO] [stdout] test commands::search::tests::test_pagination_prevents_divide_by_zero ... ok [INFO] [stdout] test commands::search::tests::test_pagination_boundary_conditions ... ok [INFO] [stdout] test commands::search::tests::test_actual_limit_calculation ... ok [INFO] [stdout] test commands::search::tests::test_pagination_with_zero_hits ... ok [INFO] [stdout] test commands::search::tests::test_pagination_with_single_hit ... ok [INFO] [stdout] test tests::test_cli_default_values ... ok [INFO] [stdout] test commands::docs::tests::docs_markdown_includes_aliases_when_present ... ok [INFO] [stdout] test commands::search::tests::test_pagination_with_overlarge_page_number ... ok [INFO] [stdout] test commands::docs::tests::docs_json_has_expected_top_level_shape ... ok [INFO] [stdout] test commands::docs::tests::docs_json_includes_aliases_array ... ok [INFO] [stdout] test tests::test_cli_output_format_validation ... ok [INFO] [stdout] test tests::test_completion_cli_structure_contains_subcommand_flags ... ok [INFO] [stdout] test tests::test_completion_cli_structure_contains_global_flags ... ok [INFO] [stdout] test tests::test_cli_flag_validation_edge_cases ... ok [INFO] [stdout] test tests::test_cli_subcommand_specific_flags ... ok [INFO] [stdout] test tests::test_cli_special_argument_parsing ... ok [INFO] [stdout] test tests::test_completion_integration_with_clap ... ok [INFO] [stdout] test tests::test_cli_boolean_flags ... ok [INFO] [stdout] test tests::test_completion_help_generation ... ok [INFO] [stdout] test tests::test_line_range_parsing_errors ... ok [INFO] [stdout] test tests::test_language_names_are_not_reserved ... ok [INFO] [stdout] test tests::test_line_range_parsing ... ok [INFO] [stdout] test tests::test_reserved_keywords_validation ... ok [INFO] [stdout] test tests::test_valid_aliases_allowed ... ok [INFO] [stdout] test tests::test_reserved_keywords_no_duplicates ... ok [INFO] [stdout] test tests::test_cli_error_messages ... ok [INFO] [stdout] _blz() { [INFO] [stdout] local i cur prev opts cmd [INFO] [stdout] COMPREPLY=() [INFO] [stdout] if [[ "${BASH_VERSINFO[0]}" -ge 4 ]]; then [INFO] [stdout] cur="$2" [INFO] [stdout] else [INFO] [stdout] cur="${COMP_WORDS[COMP_CWORD]}" [INFO] [stdout] fi [INFO] [stdout] prev="$3" [INFO] [stdout] cmd="" [INFO] [stdout] opts="" [INFO] [stdout] [INFO] [stdout] for i in "${COMP_WORDS[@]:0:COMP_CWORD}" [INFO] [stdout] do [INFO] [stdout] case "${cmd},${i}" in [INFO] [stdout] ",$1") [INFO] [stdout] cmd="blz" [INFO] [stdout] ;; [INFO] [stdout] blz,add) [INFO] [stdout] cmd="blz__add" [INFO] [stdout] ;; [INFO] [stdout] blz,alias) [INFO] [stdout] cmd="blz__alias" [INFO] [stdout] ;; [INFO] [stdout] blz,completions) [INFO] [stdout] cmd="blz__completions" [INFO] [stdout] ;; [INFO] [stdout] blz,diff) [INFO] [stdout] cmd="blz__diff" [INFO] [stdout] ;; [INFO] [stdout] blz,docs) [INFO] [stdout] cmd="blz__docs" [INFO] [stdout] ;; [INFO] [stdout] blz,get) [INFO] [stdout] cmd="blz__get" [INFO] [stdout] ;; [INFO] [stdout] blz,help) [INFO] [stdout] cmd="blz__help" [INFO] [stdout] ;; [INFO] [stdout] blz,instruct) [INFO] [stdout] cmd="blz__instruct" [INFO] [stdout] ;; [INFO] [stdout] blz,list) [INFO] [stdout] cmd="blz__list" [INFO] [stdout] ;; [INFO] [stdout] blz,lookup) [INFO] [stdout] cmd="blz__lookup" [INFO] [stdout] ;; [INFO] [stdout] blz,remove) [INFO] [stdout] cmd="blz__remove" [INFO] [stdout] ;; [INFO] [stdout] blz,search) [INFO] [stdout] cmd="blz__search" [INFO] [stdout] ;; [INFO] [stdout] blz,sources) [INFO] [stdout] cmd="blz__list" [INFO] [stdout] ;; [INFO] [stdout] blz,update) [INFO] [stdout] cmd="blz__update" [INFO] [stdout] ;; [INFO] [stdout] blz__alias,add) [INFO] [stdout] cmd="blz__alias__add" [INFO] [stdout] ;; [INFO] [stdout] blz__alias,help) [INFO] [stdout] cmd="blz__alias__help" [INFO] [stdout] ;; [INFO] [stdout] blz__alias,rm) [INFO] [stdout] cmd="blz__alias__rm" [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help,add) [INFO] [stdout] cmd="blz__alias__help__add" [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help,help) [INFO] [stdout] cmd="blz__alias__help__help" [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help,rm) [INFO] [stdout] cmd="blz__alias__help__rm" [INFO] [stdout] ;; [INFO] [stdout] blz__help,add) [INFO] [stdout] cmd="blz__help__add" [INFO] [stdout] ;; [INFO] [stdout] blz__help,alias) [INFO] [stdout] cmd="blz__help__alias" [INFO] [stdout] ;; [INFO] [stdout] blz__help,completions) [INFO] [stdout] cmd="blz__help__completions" [INFO] [stdout] ;; [INFO] [stdout] blz__help,diff) [INFO] [stdout] cmd="blz__help__diff" [INFO] [stdout] ;; [INFO] [stdout] blz__help,docs) [INFO] [stdout] cmd="blz__help__docs" [INFO] [stdout] ;; [INFO] [stdout] blz__help,get) [INFO] [stdout] cmd="blz__help__get" [INFO] [stdout] ;; [INFO] [stdout] blz__help,help) [INFO] [stdout] cmd="blz__help__help" [INFO] [stdout] ;; [INFO] [stdout] blz__help,instruct) [INFO] [stdout] cmd="blz__help__instruct" [INFO] [stdout] ;; [INFO] [stdout] blz__help,list) [INFO] [stdout] cmd="blz__help__list" [INFO] [stdout] ;; [INFO] [stdout] blz__help,lookup) [INFO] [stdout] cmd="blz__help__lookup" [INFO] [stdout] ;; [INFO] [stdout] blz__help,remove) [INFO] [stdout] cmd="blz__help__remove" [INFO] [stdout] ;; [INFO] [stdout] blz__help,search) [INFO] [stdout] cmd="blz__help__search" [INFO] [stdout] ;; [INFO] [stdout] blz__help,update) [INFO] [stdout] cmd="blz__help__update" [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias,add) [INFO] [stdout] cmd="blz__help__alias__add" [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias,rm) [INFO] [stdout] cmd="blz__help__alias__rm" [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] done [INFO] [stdout] [INFO] [stdout] case "${cmd}" in [INFO] [stdout] blz) [INFO] [stdout] opts="-v -q -h -V --verbose --quiet --debug --profile --no-color --config --config-dir --help --version [ARGS]... instruct completions alias docs add lookup search get list sources update remove diff help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__add) [INFO] [stdout] opts="-y -v -q -h --yes --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]... add rm help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__add) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help) [INFO] [stdout] opts="add rm help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help__add) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help__help) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help__rm) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__rm) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__completions) [INFO] [stdout] opts="-o -v -q -h --list --output --verbose --quiet --debug --profile --no-color --config --config-dir --help bash elvish fish powershell zsh [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__diff) [INFO] [stdout] opts="-v -q -h --since --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --since) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__docs) [INFO] [stdout] opts="-v -q -h --format --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --format) [INFO] [stdout] COMPREPLY=($(compgen -W "markdown json" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__get) [INFO] [stdout] opts="-l -c -o -v -q -h --lines --context --output --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --lines) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -l) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --context) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -c) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help) [INFO] [stdout] opts="instruct completions alias docs add lookup search get list update remove diff help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__add) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias) [INFO] [stdout] opts="add rm" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias__add) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias__rm) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__completions) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__diff) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__docs) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__get) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__help) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__instruct) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__list) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__lookup) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__remove) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__search) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__update) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__instruct) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__list) [INFO] [stdout] opts="-o -v -q -h --output --status --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__lookup) [INFO] [stdout] opts="-o -v -q -h --output --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__remove) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__search) [INFO] [stdout] opts="-s -n -o -v -q -h --source --alias --last --limit --all --page --top --output --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --alias) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --source) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -s) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --limit) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -n) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --page) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --top) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__update) [INFO] [stdout] opts="-y -v -q -h --all --flavor --yes --verbose --quiet --debug --profile --no-color --config --config-dir --help [ALIAS] [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --flavor) [INFO] [stdout] COMPREPLY=($(compgen -W "current auto full txt" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then [INFO] [stdout] complete -F _blz -o nosort -o bashdefault -o default blz [INFO] [stdout] else [INFO] [stdout] complete -F _blz -o bashdefault -o default blz [INFO] [stdout] fi [INFO] [stdout] _blz() { [INFO] [stdout] local i cur prev opts cmd [INFO] [stdout] COMPREPLY=() [INFO] [stdout] if [[ "${BASH_VERSINFO[0]}" -ge 4 ]]; then [INFO] [stdout] cur="$2" [INFO] [stdout] else [INFO] [stdout] cur="${COMP_WORDS[COMP_CWORD]}" [INFO] [stdout] fi [INFO] [stdout] prev="$3" [INFO] [stdout] cmd="" [INFO] [stdout] opts="" [INFO] [stdout] [INFO] [stdout] for i in "${COMP_WORDS[@]:0:COMP_CWORD}" [INFO] [stdout] do [INFO] [stdout] case "${cmd},${i}" in [INFO] [stdout] ",$1") [INFO] [stdout] cmd="blz" [INFO] [stdout] ;; [INFO] [stdout] blz,add) [INFO] [stdout] cmd="blz__add" [INFO] [stdout] ;; [INFO] [stdout] blz,alias) [INFO] [stdout] cmd="blz__alias" [INFO] [stdout] ;; [INFO] [stdout] blz,completions) [INFO] [stdout] cmd="blz__completions" [INFO] [stdout] ;; [INFO] [stdout] blz,diff) [INFO] [stdout] cmd="blz__diff" [INFO] [stdout] ;; [INFO] [stdout] blz,docs) [INFO] [stdout] cmd="blz__docs" [INFO] [stdout] ;; [INFO] [stdout] blz,get) [INFO] [stdout] cmd="blz__get" [INFO] [stdout] ;; [INFO] [stdout] blz,help) [INFO] [stdout] cmd="blz__help" [INFO] [stdout] ;; [INFO] [stdout] blz,instruct) [INFO] [stdout] cmd="blz__instruct" [INFO] [stdout] ;; [INFO] [stdout] blz,list) [INFO] [stdout] cmd="blz__list" [INFO] [stdout] ;; [INFO] [stdout] blz,lookup) [INFO] [stdout] cmd="blz__lookup" [INFO] [stdout] ;; [INFO] [stdout] blz,remove) [INFO] [stdout] cmd="blz__remove" [INFO] [stdout] ;; [INFO] [stdout] blz,search) [INFO] [stdout] cmd="blz__search" [INFO] [stdout] ;; [INFO] [stdout] blz,sources) [INFO] [stdout] cmd="blz__list" [INFO] [stdout] ;; [INFO] [stdout] blz,update) [INFO] [stdout] cmd="blz__update" [INFO] [stdout] ;; [INFO] [stdout] blz__alias,add) [INFO] [stdout] cmd="blz__alias__add" [INFO] [stdout] ;; [INFO] [stdout] blz__alias,help) [INFO] [stdout] cmd="blz__alias__help" [INFO] [stdout] ;; [INFO] [stdout] blz__alias,rm) [INFO] [stdout] cmd="blz__alias__rm" [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help,add) [INFO] [stdout] cmd="blz__alias__help__add" [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help,help) [INFO] [stdout] cmd="blz__alias__help__help" [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help,rm) [INFO] [stdout] cmd="blz__alias__help__rm" [INFO] [stdout] ;; [INFO] [stdout] blz__help,add) [INFO] [stdout] cmd="blz__help__add" [INFO] [stdout] ;; [INFO] [stdout] blz__help,alias) [INFO] [stdout] cmd="blz__help__alias" [INFO] [stdout] ;; [INFO] [stdout] blz__help,completions) [INFO] [stdout] cmd="blz__help__completions" [INFO] [stdout] ;; [INFO] [stdout] blz__help,diff) [INFO] [stdout] cmd="blz__help__diff" [INFO] [stdout] ;; [INFO] [stdout] blz__help,docs) [INFO] [stdout] cmd="blz__help__docs" [INFO] [stdout] ;; [INFO] [stdout] blz__help,get) [INFO] [stdout] cmd="blz__help__get" [INFO] [stdout] ;; [INFO] [stdout] blz__help,help) [INFO] [stdout] cmd="blz__help__help" [INFO] [stdout] ;; [INFO] [stdout] blz__help,instruct) [INFO] [stdout] cmd="blz__help__instruct" [INFO] [stdout] ;; [INFO] [stdout] blz__help,list) [INFO] [stdout] cmd="blz__help__list" [INFO] [stdout] ;; [INFO] [stdout] blz__help,lookup) [INFO] [stdout] cmd="blz__help__lookup" [INFO] [stdout] ;; [INFO] [stdout] blz__help,remove) [INFO] [stdout] cmd="blz__help__remove" [INFO] [stdout] ;; [INFO] [stdout] blz__help,search) [INFO] [stdout] cmd="blz__help__search" [INFO] [stdout] ;; [INFO] [stdout] blz__help,update) [INFO] [stdout] cmd="blz__help__update" [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias,add) [INFO] [stdout] cmd="blz__help__alias__add" [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias,rm) [INFO] [stdout] cmd="blz__help__alias__rm" [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] done [INFO] [stdout] [INFO] [stdout] case "${cmd}" in [INFO] [stdout] blz) [INFO] [stdout] opts="-v -q -h -V --verbose --quiet --debug --profile --no-color --config --config-dir --help --version [ARGS]... instruct completions alias docs add lookup search get list sources update remove diff help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__add) [INFO] [stdout] opts="-y -v -q -h --yes --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]... add rm help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__add) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help) [INFO] [stdout] opts="add rm help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help__add) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help__help) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help__rm) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__rm) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__completions) [INFO] [stdout] opts="-o -v -q -h --list --output --verbose --quiet --debug --profile --no-color --config --config-dir --help bash elvish fish powershell zsh [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__diff) [INFO] [stdout] opts="-v -q -h --since --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --since) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__docs) [INFO] [stdout] opts="-v -q -h --format --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --format) [INFO] [stdout] COMPREPLY=($(compgen -W "markdown json" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__get) [INFO] [stdout] opts="-l -c -o -v -q -h --lines --context --output --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --lines) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -l) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --context) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -c) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help) [INFO] [stdout] opts="instruct completions alias docs add lookup search get list update remove diff help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__add) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias) [INFO] [stdout] opts="add rm" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias__add) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias__rm) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__completions) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__diff) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__docs) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__get) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__help) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__instruct) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__list) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__lookup) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__remove) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__search) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__update) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__instruct) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__list) [INFO] [stdout] opts="-o -v -q -h --output --status --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__lookup) [INFO] [stdout] opts="-o -v -q -h --output --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__remove) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__search) [INFO] [stdout] opts="-s -n -o -v -q -h --source --alias --last --limit --all --page --top --output --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --alias) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --source) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -s) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --limit) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -n) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --page) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --top) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__update) [INFO] [stdout] opts="-y -v -q -h --all --flavor --yes --verbose --quiet --debug --profile --no-color --config --config-dir --help [ALIAS] [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --flavor) [INFO] [stdout] COMPREPLY=($(compgen -W "current auto full txt" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then [INFO] [stdout] complete -F _blz -o nosort -o bashdefault -o default blz [INFO] [stdout] else [INFO] [stdout] complete -F _blz -o bashdefault -o default blz [INFO] [stdout] fi [INFO] [stdout] _blz() { [INFO] [stdout] local i cur prev opts cmd [INFO] [stdout] COMPREPLY=() [INFO] [stdout] if [[ "${BASH_VERSINFO[0]}" -ge 4 ]]; then [INFO] [stdout] cur="$2" [INFO] [stdout] else [INFO] [stdout] cur="${COMP_WORDS[COMP_CWORD]}" [INFO] [stdout] fi [INFO] [stdout] prev="$3" [INFO] [stdout] cmd="" [INFO] [stdout] opts="" [INFO] [stdout] [INFO] [stdout] for i in "${COMP_WORDS[@]:0:COMP_CWORD}" [INFO] [stdout] do [INFO] [stdout] case "${cmd},${i}" in [INFO] [stdout] ",$1") [INFO] [stdout] cmd="blz" [INFO] [stdout] ;; [INFO] [stdout] blz,add) [INFO] [stdout] cmd="blz__add" [INFO] [stdout] ;; [INFO] [stdout] blz,alias) [INFO] [stdout] cmd="blz__alias" [INFO] [stdout] ;; [INFO] [stdout] blz,completions) [INFO] [stdout] cmd="blz__completions" [INFO] [stdout] ;; [INFO] [stdout] blz,diff) [INFO] [stdout] cmd="blz__diff" [INFO] [stdout] ;; [INFO] [stdout] blz,docs) [INFO] [stdout] cmd="blz__docs" [INFO] [stdout] ;; [INFO] [stdout] blz,get) [INFO] [stdout] cmd="blz__get" [INFO] [stdout] ;; [INFO] [stdout] blz,help) [INFO] [stdout] cmd="blz__help" [INFO] [stdout] ;; [INFO] [stdout] blz,instruct) [INFO] [stdout] cmd="blz__instruct" [INFO] [stdout] ;; [INFO] [stdout] blz,list) [INFO] [stdout] cmd="blz__list" [INFO] [stdout] ;; [INFO] [stdout] blz,lookup) [INFO] [stdout] cmd="blz__lookup" [INFO] [stdout] ;; [INFO] [stdout] blz,remove) [INFO] [stdout] cmd="blz__remove" [INFO] [stdout] ;; [INFO] [stdout] blz,search) [INFO] [stdout] cmd="blz__search" [INFO] [stdout] ;; [INFO] [stdout] blz,sources) [INFO] [stdout] cmd="blz__list" [INFO] [stdout] ;; [INFO] [stdout] blz,update) [INFO] [stdout] cmd="blz__update" [INFO] [stdout] ;; [INFO] [stdout] blz__alias,add) [INFO] [stdout] cmd="blz__alias__add" [INFO] [stdout] ;; [INFO] [stdout] blz__alias,help) [INFO] [stdout] cmd="blz__alias__help" [INFO] [stdout] ;; [INFO] [stdout] blz__alias,rm) [INFO] [stdout] cmd="blz__alias__rm" [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help,add) [INFO] [stdout] cmd="blz__alias__help__add" [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help,help) [INFO] [stdout] cmd="blz__alias__help__help" [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help,rm) [INFO] [stdout] cmd="blz__alias__help__rm" [INFO] [stdout] ;; [INFO] [stdout] blz__help,add) [INFO] [stdout] cmd="blz__help__add" [INFO] [stdout] ;; [INFO] [stdout] blz__help,alias) [INFO] [stdout] cmd="blz__help__alias" [INFO] [stdout] ;; [INFO] [stdout] blz__help,completions) [INFO] [stdout] cmd="blz__help__completions" [INFO] [stdout] ;; [INFO] [stdout] blz__help,diff) [INFO] [stdout] cmd="blz__help__diff" [INFO] [stdout] ;; [INFO] [stdout] blz__help,docs) [INFO] [stdout] cmd="blz__help__docs" [INFO] [stdout] ;; [INFO] [stdout] blz__help,get) [INFO] [stdout] cmd="blz__help__get" [INFO] [stdout] ;; [INFO] [stdout] blz__help,help) [INFO] [stdout] cmd="blz__help__help" [INFO] [stdout] ;; [INFO] [stdout] blz__help,instruct) [INFO] [stdout] cmd="blz__help__instruct" [INFO] [stdout] ;; [INFO] [stdout] blz__help,list) [INFO] [stdout] cmd="blz__help__list" [INFO] [stdout] ;; [INFO] [stdout] blz__help,lookup) [INFO] [stdout] cmd="blz__help__lookup" [INFO] [stdout] ;; [INFO] [stdout] blz__help,remove) [INFO] [stdout] cmd="blz__help__remove" [INFO] [stdout] ;; [INFO] [stdout] blz__help,search) [INFO] [stdout] cmd="blz__help__search" [INFO] [stdout] ;; [INFO] [stdout] blz__help,update) [INFO] [stdout] cmd="blz__help__update" [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias,add) [INFO] [stdout] cmd="blz__help__alias__add" [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias,rm) [INFO] [stdout] cmd="blz__help__alias__rm" [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] done [INFO] [stdout] [INFO] [stdout] case "${cmd}" in [INFO] [stdout] blz) [INFO] [stdout] opts="-v -q -h -V --verbose --quiet --debug --profile --no-color --config --config-dir --help --version [ARGS]... instruct completions alias docs add lookup search get list sources update remove diff help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__add) [INFO] [stdout] opts="-y -v -q -h --yes --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]... add rm help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__add) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help) [INFO] [stdout] opts="add rm help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help__add) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help__help) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help__rm) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__rm) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__completions) [INFO] [stdout] opts="-o -v -q -h --list --output --verbose --quiet --debug --profile --no-color --config --config-dir --help bash elvish fish powershell zsh [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__diff) [INFO] [stdout] opts="-v -q -h --since --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --since) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__docs) [INFO] [stdout] opts="-v -q -h --format --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --format) [INFO] [stdout] COMPREPLY=($(compgen -W "markdown json" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__get) [INFO] [stdout] opts="-l -c -o -v -q -h --lines --context --output --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --lines) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -l) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --context) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -c) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help) [INFO] [stdout] opts="instruct completions alias docs add lookup search get list update remove diff help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__add) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias) [INFO] [stdout] opts="add rm" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias__add) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias__rm) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__completions) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__diff) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__docs) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__get) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__help) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__instruct) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__list) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__lookup) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__remove) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__search) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__update) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__instruct) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__list) [INFO] [stdout] opts="-o -v -q -h --output --status --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__lookup) [INFO] [stdout] opts="-o -v -q -h --output --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__remove) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__search) [INFO] [stdout] opts="-s -n -o -v -q -h --source --alias --last --limit --all --page --top --output --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --alias) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --source) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -s) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --limit) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -n) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --page) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --top) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__update) [INFO] [stdout] opts="-y -v -q -h --all --flavor --yes --verbose --quiet --debug --profile --no-color --config --config-dir --help [ALIAS] [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --flavor) [INFO] [stdout] COMPREPLY=($(compgen -W "current auto full txt" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then [INFO] [stdout] complete -F _blz -o nosort -o bashdefault -o default blz [INFO] [stdout] else [INFO] [stdout] complete -F _blz -o bashdefault -o default blz [INFO] [stdout] fi [INFO] [stdout] #compdef blz [INFO] [stdout] [INFO] [stdout] autoload -U is-at-least [INFO] [stdout] [INFO] [stdout] _blz() { [INFO] [stdout] typeset -A opt_args [INFO] [stdout] typeset -a _arguments_options [INFO] [stdout] local ret=1 [INFO] [stdout] [INFO] [stdout] if is-at-least 5.2; then [INFO] [stdout] _arguments_options=(-s -S -C) [INFO] [stdout] else [INFO] [stdout] _arguments_options=(-s -C) [INFO] [stdout] fi [INFO] [stdout] [INFO] [stdout] local context curcontext="$curcontext" state line [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '-V[Print version]' \ [INFO] [stdout] '--version[Print version]' \ [INFO] [stdout] '::args -- Arguments for default search command:_default' \ [INFO] [stdout] ":: :_blz_commands" \ [INFO] [stdout] "*::: :->blz" \ [INFO] [stdout] && ret=0 [INFO] [stdout] case $state in [INFO] [stdout] (blz) [INFO] [stdout] words=($line[2] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-command-$line[2]:" [INFO] [stdout] case $line[2] in [INFO] [stdout] (instruct) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (completions) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-o+[Output format for listing]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format for listing]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--list[List supported shells instead of generating a script]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '::shell -- Shell to generate completions for:(bash elvish fish powershell zsh)' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (alias) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '::args -- Arguments for default search command:_default' \ [INFO] [stdout] ":: :_blz__alias_commands" \ [INFO] [stdout] "*::: :->alias" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (alias) [INFO] [stdout] words=($line[2] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-alias-command-$line[2]:" [INFO] [stdout] case $line[2] in [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':source -- Canonical source:_default' \ [INFO] [stdout] ':alias -- Alias to add (e.g., @scope/package):_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (rm) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':source -- Canonical source:_default' \ [INFO] [stdout] ':alias -- Alias to remove:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_blz__alias__help_commands" \ [INFO] [stdout] "*::: :->help" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (help) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-alias-help-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (rm) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] (docs) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--format=[Output format for docs Defaults to \`markdown\`]:FORMAT:(markdown json)' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-y[Auto-select the best flavor without prompts]' \ [INFO] [stdout] '--yes[Auto-select the best flavor without prompts]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':alias -- Alias for the source:_default' \ [INFO] [stdout] ':url -- URL to fetch llms.txt from:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (lookup) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] ':query -- Search query (tool name, partial name, etc.):_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (search) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-s+[Filter by alias (also accepts --source)]:ALIAS:_default' \ [INFO] [stdout] '--alias=[Filter by alias (also accepts --source)]:ALIAS:_default' \ [INFO] [stdout] '--source=[Filter by alias (also accepts --source)]:ALIAS:_default' \ [INFO] [stdout] '-n+[Maximum number of results]:LIMIT:_default' \ [INFO] [stdout] '--limit=[Maximum number of results]:LIMIT:_default' \ [INFO] [stdout] '--page=[Page number for pagination]:PAGE:_default' \ [INFO] [stdout] '--top=[Show only top N percentile of results (1-100)]:TOP:_default' \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--last[Jump to last page of results]' \ [INFO] [stdout] '--all[Show all results (no limit)]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] ':query -- Search query:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (get) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-l+[Line range(s) (e.g., "120-142", "36\:43,320\:350", "36+20")]:LINES:_default' \ [INFO] [stdout] '--lines=[Line range(s) (e.g., "120-142", "36\:43,320\:350", "36+20")]:LINES:_default' \ [INFO] [stdout] '-c+[Context lines around each line/range]:CONTEXT:_default' \ [INFO] [stdout] '--context=[Context lines around each line/range]:CONTEXT:_default' \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] ':alias -- Source alias:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (list) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--status[Include status/health information (etag, lastModified, checksum)]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (sources) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--status[Include status/health information (etag, lastModified, checksum)]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (update) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--flavor=[Choose update flavor policy]:FLAVOR:((current\:"Keep current URL/flavor" [INFO] [stdout] auto\:"Prefer best available flavor (llms-full.txt > llms.txt > others)" [INFO] [stdout] full\:"Force llms-full.txt if available" [INFO] [stdout] txt\:"Force llms.txt if available"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--all[Update all sources]' \ [INFO] [stdout] '-y[Apply changes without prompting (e.g., auto-upgrade to llms-full)]' \ [INFO] [stdout] '--yes[Apply changes without prompting (e.g., auto-upgrade to llms-full)]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '::alias -- Specific alias to update (updates all if not specified):_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (remove) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':alias -- Source alias:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (diff) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--since=[Show changes since timestamp]:SINCE:_default' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':alias -- Source alias:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_blz__help_commands" \ [INFO] [stdout] "*::: :->help" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (help) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-help-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (instruct) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (completions) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (alias) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_blz__help__alias_commands" \ [INFO] [stdout] "*::: :->alias" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (alias) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-help-alias-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (rm) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] (docs) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (lookup) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (search) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (get) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (list) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (update) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (remove) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (diff) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] (( $+functions[_blz_commands] )) || [INFO] [stdout] _blz_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'instruct:Print instructions for agent use of blz' \ [INFO] [stdout] 'completions:Generate shell completions' \ [INFO] [stdout] 'alias:Manage aliases for a source' \ [INFO] [stdout] 'docs:Generate CLI docs from the clap definitions' \ [INFO] [stdout] 'add:Add a new source' \ [INFO] [stdout] 'lookup:Search registries for documentation to add' \ [INFO] [stdout] 'search:Search across cached docs' \ [INFO] [stdout] 'get:Get exact lines from a source' \ [INFO] [stdout] 'list:List all cached sources' \ [INFO] [stdout] 'sources:List all cached sources' \ [INFO] [stdout] 'update:Update sources' \ [INFO] [stdout] 'remove:Remove/delete a source' \ [INFO] [stdout] 'diff:View diffs (coming soon)' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__add_commands] )) || [INFO] [stdout] _blz__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias_commands] )) || [INFO] [stdout] _blz__alias_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'add:Add an alias for a source' \ [INFO] [stdout] 'rm:Remove an alias from a source' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz alias commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__add_commands] )) || [INFO] [stdout] _blz__alias__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__help_commands] )) || [INFO] [stdout] _blz__alias__help_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'add:Add an alias for a source' \ [INFO] [stdout] 'rm:Remove an alias from a source' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz alias help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__help__add_commands] )) || [INFO] [stdout] _blz__alias__help__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias help add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__help__help_commands] )) || [INFO] [stdout] _blz__alias__help__help_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias help help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__help__rm_commands] )) || [INFO] [stdout] _blz__alias__help__rm_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias help rm commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__rm_commands] )) || [INFO] [stdout] _blz__alias__rm_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias rm commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__completions_commands] )) || [INFO] [stdout] _blz__completions_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz completions commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__diff_commands] )) || [INFO] [stdout] _blz__diff_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz diff commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__docs_commands] )) || [INFO] [stdout] _blz__docs_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz docs commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__get_commands] )) || [INFO] [stdout] _blz__get_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz get commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help_commands] )) || [INFO] [stdout] _blz__help_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'instruct:Print instructions for agent use of blz' \ [INFO] [stdout] 'completions:Generate shell completions' \ [INFO] [stdout] 'alias:Manage aliases for a source' \ [INFO] [stdout] 'docs:Generate CLI docs from the clap definitions' \ [INFO] [stdout] 'add:Add a new source' \ [INFO] [stdout] 'lookup:Search registries for documentation to add' \ [INFO] [stdout] 'search:Search across cached docs' \ [INFO] [stdout] 'get:Get exact lines from a source' \ [INFO] [stdout] 'list:List all cached sources' \ [INFO] [stdout] 'update:Update sources' \ [INFO] [stdout] 'remove:Remove/delete a source' \ [INFO] [stdout] 'diff:View diffs (coming soon)' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__add_commands] )) || [INFO] [stdout] _blz__help__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__alias_commands] )) || [INFO] [stdout] _blz__help__alias_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'add:Add an alias for a source' \ [INFO] [stdout] 'rm:Remove an alias from a source' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz help alias commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__alias__add_commands] )) || [INFO] [stdout] _blz__help__alias__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help alias add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__alias__rm_commands] )) || [INFO] [stdout] _blz__help__alias__rm_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help alias rm commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__completions_commands] )) || [INFO] [stdout] _blz__help__completions_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help completions commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__diff_commands] )) || [INFO] [stdout] _blz__help__diff_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help diff commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__docs_commands] )) || [INFO] [stdout] _blz__help__docs_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help docs commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__get_commands] )) || [INFO] [stdout] _blz__help__get_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help get commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__help_commands] )) || [INFO] [stdout] _blz__help__help_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__instruct_commands] )) || [INFO] [stdout] _blz__help__instruct_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help instruct commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__list_commands] )) || [INFO] [stdout] _blz__help__list_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help list commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__lookup_commands] )) || [INFO] [stdout] _blz__help__lookup_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help lookup commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__remove_commands] )) || [INFO] [stdout] _blz__help__remove_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help remove commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__search_commands] )) || [INFO] [stdout] _blz__help__search_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help search commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__update_commands] )) || [INFO] [stdout] _blz__help__update_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help update commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__instruct_commands] )) || [INFO] [stdout] _blz__instruct_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz instruct commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__list_commands] )) || [INFO] [stdout] _blz__list_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz list commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__lookup_commands] )) || [INFO] [stdout] _blz__lookup_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz lookup commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__remove_commands] )) || [INFO] [stdout] _blz__remove_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz remove commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__search_commands] )) || [INFO] [stdout] _blz__search_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz search commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__update_commands] )) || [INFO] [stdout] _blz__update_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz update commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] if [ "$funcstack[1]" = "_blz" ]; then [INFO] [stdout] _blz "$@" [INFO] [stdout] else [INFO] [stdout] compdef _blz blz [INFO] [stdout] fi [INFO] [stdout] _blz() { [INFO] [stdout] local i cur prev opts cmd [INFO] [stdout] COMPREPLY=() [INFO] [stdout] if [[ "${BASH_VERSINFO[0]}" -ge 4 ]]; then [INFO] [stdout] cur="$2" [INFO] [stdout] else [INFO] [stdout] cur="${COMP_WORDS[COMP_CWORD]}" [INFO] [stdout] fi [INFO] [stdout] prev="$3" [INFO] [stdout] cmd="" [INFO] [stdout] opts="" [INFO] [stdout] [INFO] [stdout] for i in "${COMP_WORDS[@]:0:COMP_CWORD}" [INFO] [stdout] do [INFO] [stdout] case "${cmd},${i}" in [INFO] [stdout] ",$1") [INFO] [stdout] cmd="blz" [INFO] [stdout] ;; [INFO] [stdout] blz,add) [INFO] [stdout] cmd="blz__add" [INFO] [stdout] ;; [INFO] [stdout] blz,alias) [INFO] [stdout] cmd="blz__alias" [INFO] [stdout] ;; [INFO] [stdout] blz,completions) [INFO] [stdout] cmd="blz__completions" [INFO] [stdout] ;; [INFO] [stdout] blz,diff) [INFO] [stdout] cmd="blz__diff" [INFO] [stdout] ;; [INFO] [stdout] blz,docs) [INFO] [stdout] cmd="blz__docs" [INFO] [stdout] ;; [INFO] [stdout] blz,get) [INFO] [stdout] cmd="blz__get" [INFO] [stdout] ;; [INFO] [stdout] blz,help) [INFO] [stdout] cmd="blz__help" [INFO] [stdout] ;; [INFO] [stdout] blz,instruct) [INFO] [stdout] cmd="blz__instruct" [INFO] [stdout] ;; [INFO] [stdout] blz,list) [INFO] [stdout] cmd="blz__list" [INFO] [stdout] ;; [INFO] [stdout] blz,lookup) [INFO] [stdout] cmd="blz__lookup" [INFO] [stdout] ;; [INFO] [stdout] blz,remove) [INFO] [stdout] cmd="blz__remove" [INFO] [stdout] ;; [INFO] [stdout] blz,search) [INFO] [stdout] cmd="blz__search" [INFO] [stdout] ;; [INFO] [stdout] blz,sources) [INFO] [stdout] cmd="blz__list" [INFO] [stdout] ;; [INFO] [stdout] blz,update) [INFO] [stdout] cmd="blz__update" [INFO] [stdout] ;; [INFO] [stdout] blz__alias,add) [INFO] [stdout] cmd="blz__alias__add" [INFO] [stdout] ;; [INFO] [stdout] blz__alias,help) [INFO] [stdout] cmd="blz__alias__help" [INFO] [stdout] ;; [INFO] [stdout] blz__alias,rm) [INFO] [stdout] cmd="blz__alias__rm" [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help,add) [INFO] [stdout] cmd="blz__alias__help__add" [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help,help) [INFO] [stdout] cmd="blz__alias__help__help" [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help,rm) [INFO] [stdout] cmd="blz__alias__help__rm" [INFO] [stdout] ;; [INFO] [stdout] blz__help,add) [INFO] [stdout] cmd="blz__help__add" [INFO] [stdout] ;; [INFO] [stdout] blz__help,alias) [INFO] [stdout] cmd="blz__help__alias" [INFO] [stdout] ;; [INFO] [stdout] blz__help,completions) [INFO] [stdout] cmd="blz__help__completions" [INFO] [stdout] ;; [INFO] [stdout] blz__help,diff) [INFO] [stdout] cmd="blz__help__diff" [INFO] [stdout] ;; [INFO] [stdout] blz__help,docs) [INFO] [stdout] cmd="blz__help__docs" [INFO] [stdout] ;; [INFO] [stdout] blz__help,get) [INFO] [stdout] cmd="blz__help__get" [INFO] [stdout] ;; [INFO] [stdout] blz__help,help) [INFO] [stdout] cmd="blz__help__help" [INFO] [stdout] ;; [INFO] [stdout] blz__help,instruct) [INFO] [stdout] cmd="blz__help__instruct" [INFO] [stdout] ;; [INFO] [stdout] blz__help,list) [INFO] [stdout] cmd="blz__help__list" [INFO] [stdout] ;; [INFO] [stdout] blz__help,lookup) [INFO] [stdout] cmd="blz__help__lookup" [INFO] [stdout] ;; [INFO] [stdout] blz__help,remove) [INFO] [stdout] cmd="blz__help__remove" [INFO] [stdout] ;; [INFO] [stdout] blz__help,search) [INFO] [stdout] cmd="blz__help__search" [INFO] [stdout] ;; [INFO] [stdout] blz__help,update) [INFO] [stdout] cmd="blz__help__update" [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias,add) [INFO] [stdout] cmd="blz__help__alias__add" [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias,rm) [INFO] [stdout] cmd="blz__help__alias__rm" [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] done [INFO] [stdout] [INFO] [stdout] case "${cmd}" in [INFO] [stdout] blz) [INFO] [stdout] opts="-v -q -h -V --verbose --quiet --debug --profile --no-color --config --config-dir --help --version [ARGS]... instruct completions alias docs add lookup search get list sources update remove diff help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__add) [INFO] [stdout] opts="-y -v -q -h --yes --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]... add rm help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__add) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help) [INFO] [stdout] opts="add rm help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help__add) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help__help) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__help__rm) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__alias__rm) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__completions) [INFO] [stdout] opts="-o -v -q -h --list --output --verbose --quiet --debug --profile --no-color --config --config-dir --help bash elvish fish powershell zsh [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__diff) [INFO] [stdout] opts="-v -q -h --since --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --since) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__docs) [INFO] [stdout] opts="-v -q -h --format --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --format) [INFO] [stdout] COMPREPLY=($(compgen -W "markdown json" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__get) [INFO] [stdout] opts="-l -c -o -v -q -h --lines --context --output --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --lines) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -l) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --context) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -c) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help) [INFO] [stdout] opts="instruct completions alias docs add lookup search get list update remove diff help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__add) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias) [INFO] [stdout] opts="add rm" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias__add) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__alias__rm) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__completions) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__diff) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__docs) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__get) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__help) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__instruct) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__list) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__lookup) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__remove) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__search) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__help__update) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__instruct) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__list) [INFO] [stdout] opts="-o -v -q -h --output --status --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__lookup) [INFO] [stdout] opts="-o -v -q -h --output --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__remove) [INFO] [stdout] opts="-v -q -h --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__search) [INFO] [stdout] opts="-s -n -o -v -q -h --source --alias --last --limit --all --page --top --output --verbose --quiet --debug --profile --no-color --config --config-dir --help [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --alias) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --source) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -s) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --limit) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -n) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --page) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --top) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --output) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -o) [INFO] [stdout] COMPREPLY=($(compgen -W "text json ndjson" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] blz__update) [INFO] [stdout] opts="-y -v -q -h --all --flavor --yes --verbose --quiet --debug --profile --no-color --config --config-dir --help [ALIAS] [ARGS]..." [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --flavor) [INFO] [stdout] COMPREPLY=($(compgen -W "current auto full txt" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --config-dir) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then [INFO] [stdout] complete -F _blz -o nosort -o bashdefault -o default blz [INFO] [stdout] else [INFO] [stdout] complete -F _blz -o bashdefault -o default blz [INFO] [stdout] fi [INFO] [stdout] test utils::validation::tests::test_normalize_alias_basic ... ok [INFO] [stdout] test utils::validation::tests::test_normalize_alias_leading_trailing ... ok [INFO] [stdout] test commands::docs::tests::docs_markdown_contains_root_help ... ok [INFO] [stdout] test tests::test_reserved_keywords_case_insensitive ... ok [INFO] [stdout] test tests::test_completion_cli_structure_contains_all_subcommands ... ok [INFO] [stdout] test tests::test_cli_invalid_flag_combinations ... ok [INFO] [stdout] test tests::test_cli_flag_combinations ... ok [INFO] [stdout] test tests::test_completion_invalid_shell_handling ... ok [INFO] [stdout] test tests::test_cli_argument_order_independence ... ok [INFO] [stdout] test tests::test_cli_string_argument_validation ... ok [INFO] [stdout] test tests::test_cli_version_flag ... ok [INFO] [stdout] test utils::validation::tests::test_normalize_alias_edge_cases ... ok [INFO] [stdout] test tests::test_completion_command_parsing ... ok [INFO] [stdout] test tests::test_cli_help_generation ... ok [INFO] [stdout] test utils::validation::tests::test_normalize_alias_mixed_cases ... ok [INFO] [stdout] test utils::validation::tests::test_normalize_alias_multiple_separators ... ok [INFO] [stdout] test utils::validation::tests::test_normalize_alias_with_spaces ... ok [INFO] [stdout] test utils::validation::tests::test_normalize_alias_with_underscores ... ok [INFO] [stdout] test utils::validation::tests::test_validate_alias_reserved ... ok [INFO] [stdout] test utils::validation::tests::test_normalize_alias_with_numbers ... ok [INFO] [stdout] test utils::validation::tests::test_normalize_alias_special_characters ... ok [INFO] [stdout] #compdef blz [INFO] [stdout] [INFO] [stdout] autoload -U is-at-least [INFO] [stdout] [INFO] [stdout] _blz() { [INFO] [stdout] typeset -A opt_args [INFO] [stdout] typeset -a _arguments_options [INFO] [stdout] local ret=1 [INFO] [stdout] [INFO] [stdout] if is-at-least 5.2; then [INFO] [stdout] _arguments_options=(-s -S -C) [INFO] [stdout] else [INFO] [stdout] _arguments_options=(-s -C) [INFO] [stdout] fi [INFO] [stdout] [INFO] [stdout] local context curcontext="$curcontext" state line [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '-V[Print version]' \ [INFO] [stdout] '--version[Print version]' \ [INFO] [stdout] '::args -- Arguments for default search command:_default' \ [INFO] [stdout] ":: :_blz_commands" \ [INFO] [stdout] "*::: :->blz" \ [INFO] [stdout] && ret=0 [INFO] [stdout] case $state in [INFO] [stdout] (blz) [INFO] [stdout] words=($line[2] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-command-$line[2]:" [INFO] [stdout] case $line[2] in [INFO] [stdout] (instruct) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (completions) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-o+[Output format for listing]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format for listing]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--list[List supported shells instead of generating a script]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '::shell -- Shell to generate completions for:(bash elvish fish powershell zsh)' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (alias) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '::args -- Arguments for default search command:_default' \ [INFO] [stdout] ":: :_blz__alias_commands" \ [INFO] [stdout] "*::: :->alias" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (alias) [INFO] [stdout] words=($line[2] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-alias-command-$line[2]:" [INFO] [stdout] case $line[2] in [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':source -- Canonical source:_default' \ [INFO] [stdout] ':alias -- Alias to add (e.g., @scope/package):_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (rm) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':source -- Canonical source:_default' \ [INFO] [stdout] ':alias -- Alias to remove:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_blz__alias__help_commands" \ [INFO] [stdout] "*::: :->help" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (help) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-alias-help-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (rm) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] (docs) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--format=[Output format for docs Defaults to \`markdown\`]:FORMAT:(markdown json)' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-y[Auto-select the best flavor without prompts]' \ [INFO] [stdout] '--yes[Auto-select the best flavor without prompts]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':alias -- Alias for the source:_default' \ [INFO] [stdout] ':url -- URL to fetch llms.txt from:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (lookup) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] ':query -- Search query (tool name, partial name, etc.):_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (search) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-s+[Filter by alias (also accepts --source)]:ALIAS:_default' \ [INFO] [stdout] '--alias=[Filter by alias (also accepts --source)]:ALIAS:_default' \ [INFO] [stdout] '--source=[Filter by alias (also accepts --source)]:ALIAS:_default' \ [INFO] [stdout] '-n+[Maximum number of results]:LIMIT:_default' \ [INFO] [stdout] '--limit=[Maximum number of results]:LIMIT:_default' \ [INFO] [stdout] '--page=[Page number for pagination]:PAGE:_default' \ [INFO] [stdout] '--top=[Show only top N percentile of results (1-100)]:TOP:_default' \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--last[Jump to last page of results]' \ [INFO] [stdout] '--all[Show all results (no limit)]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] ':query -- Search query:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (get) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-l+[Line range(s) (e.g., "120-142", "36\:43,320\:350", "36+20")]:LINES:_default' \ [INFO] [stdout] '--lines=[Line range(s) (e.g., "120-142", "36\:43,320\:350", "36+20")]:LINES:_default' \ [INFO] [stdout] '-c+[Context lines around each line/range]:CONTEXT:_default' \ [INFO] [stdout] '--context=[Context lines around each line/range]:CONTEXT:_default' \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] ':alias -- Source alias:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (list) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--status[Include status/health information (etag, lastModified, checksum)]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (sources) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--status[Include status/health information (etag, lastModified, checksum)]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (update) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--flavor=[Choose update flavor policy]:FLAVOR:((current\:"Keep current URL/flavor" [INFO] [stdout] auto\:"Prefer best available flavor (llms-full.txt > llms.txt > others)" [INFO] [stdout] full\:"Force llms-full.txt if available" [INFO] [stdout] txt\:"Force llms.txt if available"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--all[Update all sources]' \ [INFO] [stdout] '-y[Apply changes without prompting (e.g., auto-upgrade to llms-full)]' \ [INFO] [stdout] '--yes[Apply changes without prompting (e.g., auto-upgrade to llms-full)]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '::alias -- Specific alias to update (updates all if not specified):_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (remove) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':alias -- Source alias:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (diff) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--since=[Show changes since timestamp]:SINCE:_default' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':alias -- Source alias:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_blz__help_commands" \ [INFO] [stdout] "*::: :->help" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (help) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-help-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (instruct) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (completions) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (alias) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_blz__help__alias_commands" \ [INFO] [stdout] "*::: :->alias" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (alias) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-help-alias-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (rm) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] (docs) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (lookup) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (search) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (get) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (list) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (update) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (remove) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (diff) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] (( $+functions[_blz_commands] )) || [INFO] [stdout] _blz_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'instruct:Print instructions for agent use of blz' \ [INFO] [stdout] 'completions:Generate shell completions' \ [INFO] [stdout] 'alias:Manage aliases for a source' \ [INFO] [stdout] 'docs:Generate CLI docs from the clap definitions' \ [INFO] [stdout] 'add:Add a new source' \ [INFO] [stdout] 'lookup:Search registries for documentation to add' \ [INFO] [stdout] 'search:Search across cached docs' \ [INFO] [stdout] 'get:Get exact lines from a source' \ [INFO] [stdout] 'list:List all cached sources' \ [INFO] [stdout] 'sources:List all cached sources' \ [INFO] [stdout] 'update:Update sources' \ [INFO] [stdout] 'remove:Remove/delete a source' \ [INFO] [stdout] 'diff:View diffs (coming soon)' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__add_commands] )) || [INFO] [stdout] _blz__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias_commands] )) || [INFO] [stdout] _blz__alias_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'add:Add an alias for a source' \ [INFO] [stdout] 'rm:Remove an alias from a source' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz alias commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__add_commands] )) || [INFO] [stdout] _blz__alias__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__help_commands] )) || [INFO] [stdout] _blz__alias__help_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'add:Add an alias for a source' \ [INFO] [stdout] 'rm:Remove an alias from a source' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz alias help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__help__add_commands] )) || [INFO] [stdout] _blz__alias__help__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias help add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__help__help_commands] )) || [INFO] [stdout] _blz__alias__help__help_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias help help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__help__rm_commands] )) || [INFO] [stdout] _blz__alias__help__rm_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias help rm commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__rm_commands] )) || [INFO] [stdout] _blz__alias__rm_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias rm commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__completions_commands] )) || [INFO] [stdout] _blz__completions_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz completions commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__diff_commands] )) || [INFO] [stdout] _blz__diff_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz diff commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__docs_commands] )) || [INFO] [stdout] _blz__docs_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz docs commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__get_commands] )) || [INFO] [stdout] _blz__get_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz get commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help_commands] )) || [INFO] [stdout] _blz__help_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'instruct:Print instructions for agent use of blz' \ [INFO] [stdout] 'completions:Generate shell completions' \ [INFO] [stdout] 'alias:Manage aliases for a source' \ [INFO] [stdout] 'docs:Generate CLI docs from the clap definitions' \ [INFO] [stdout] 'add:Add a new source' \ [INFO] [stdout] 'lookup:Search registries for documentation to add' \ [INFO] [stdout] 'search:Search across cached docs' \ [INFO] [stdout] 'get:Get exact lines from a source' \ [INFO] [stdout] 'list:List all cached sources' \ [INFO] [stdout] 'update:Update sources' \ [INFO] [stdout] 'remove:Remove/delete a source' \ [INFO] [stdout] 'diff:View diffs (coming soon)' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__add_commands] )) || [INFO] [stdout] _blz__help__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__alias_commands] )) || [INFO] [stdout] _blz__help__alias_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'add:Add an alias for a source' \ [INFO] [stdout] 'rm:Remove an alias from a source' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz help alias commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__alias__add_commands] )) || [INFO] [stdout] _blz__help__alias__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help alias add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__alias__rm_commands] )) || [INFO] [stdout] _blz__help__alias__rm_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help alias rm commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__completions_commands] )) || [INFO] [stdout] _blz__help__completions_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help completions commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__diff_commands] )) || [INFO] [stdout] _blz__help__diff_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help diff commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__docs_commands] )) || [INFO] [stdout] _blz__help__docs_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help docs commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__get_commands] )) || [INFO] [stdout] _blz__help__get_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help get commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__help_commands] )) || [INFO] [stdout] _blz__help__help_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__instruct_commands] )) || [INFO] [stdout] _blz__help__instruct_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help instruct commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__list_commands] )) || [INFO] [stdout] _blz__help__list_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help list commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__lookup_commands] )) || [INFO] [stdout] _blz__help__lookup_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help lookup commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__remove_commands] )) || [INFO] [stdout] _blz__help__remove_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help remove commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__search_commands] )) || [INFO] [stdout] _blz__help__search_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help search commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__update_commands] )) || [INFO] [stdout] _blz__help__update_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help update commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__instruct_commands] )) || [INFO] [stdout] _blz__instruct_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz instruct commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__list_commands] )) || [INFO] [stdout] _blz__list_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz list commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__lookup_commands] )) || [INFO] [stdout] _blz__lookup_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz lookup commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__remove_commands] )) || [INFO] [stdout] _blz__remove_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz remove commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__search_commands] )) || [INFO] [stdout] _blz__search_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz search commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__update_commands] )) || [INFO] [stdout] _blz__update_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz update commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] if [ "$funcstack[1]" = "_blz" ]; then [INFO] [stdout] _blz "$@" [INFO] [stdout] else [INFO] [stdout] compdef _blz blz [INFO] [stdout] fi [INFO] [stdout] # Print an optspec for argparse to handle cmd's options that are independent of any subcommand. [INFO] [stdout] function __fish_blz_global_optspecs [INFO] [stdout] string join \n v/verbose q/quiet debug profile no-color config= config-dir= h/help V/version [INFO] [stdout] end [INFO] [stdout] [INFO] [stdout] function __fish_blz_needs_command [INFO] [stdout] # Figure out if the current invocation already has a command. [INFO] [stdout] set -l cmd (commandline -opc) [INFO] [stdout] set -e cmd[1] [INFO] [stdout] argparse -s (__fish_blz_global_optspecs) -- $cmd 2>/dev/null [INFO] [stdout] or return [INFO] [stdout] if set -q argv[1] [INFO] [stdout] # Also print the command, so this can be used to figure out what it is. [INFO] [stdout] echo $argv[1] [INFO] [stdout] return 1 [INFO] [stdout] end [INFO] [stdout] return 0 [INFO] [stdout] end [INFO] [stdout] [INFO] [stdout] function __fish_blz_using_subcommand [INFO] [stdout] set -l cmd (__fish_blz_needs_command) [INFO] [stdout] test -z "$cmd" [INFO] [stdout] and return 1 [INFO] [stdout] contains -- $cmd[1] $argv [INFO] [stdout] end [INFO] [stdout] [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -s V -l version -d 'Print version' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "instruct" -d 'Print instructions for agent use of blz' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "completions" -d 'Generate shell completions' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "alias" -d 'Manage aliases for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "docs" -d 'Generate CLI docs from the clap definitions' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "add" -d 'Add a new source' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "lookup" -d 'Search registries for documentation to add' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "search" -d 'Search across cached docs' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "get" -d 'Get exact lines from a source' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "list" -d 'List all cached sources' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "sources" -d 'List all cached sources' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "update" -d 'Update sources' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "remove" -d 'Remove/delete a source' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "diff" -d 'View diffs (coming soon)' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -s o -l output -d 'Output format for listing' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l list -d 'List supported shells instead of generating a script' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -a "add" -d 'Add an alias for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -a "rm" -d 'Remove an alias from a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from help" -f -a "add" -d 'Add an alias for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from help" -f -a "rm" -d 'Remove an alias from a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l format -d 'Output format for docs Defaults to `markdown`' -r -f -a "markdown\t'' [INFO] [stdout] json\t''" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -s y -l yes -d 'Auto-select the best flavor without prompts' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s s -l alias -l source -d 'Filter by alias (also accepts --source)' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s n -l limit -d 'Maximum number of results' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l page -d 'Page number for pagination' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l top -d 'Show only top N percentile of results (1-100)' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l last -d 'Jump to last page of results' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l all -d 'Show all results (no limit)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s l -l lines -d 'Line range(s) (e.g., "120-142", "36:43,320:350", "36+20")' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s c -l context -d 'Context lines around each line/range' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l status -d 'Include status/health information (etag, lastModified, checksum)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l status -d 'Include status/health information (etag, lastModified, checksum)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l flavor -d 'Choose update flavor policy' -r -f -a "current\t'Keep current URL/flavor' [INFO] [stdout] auto\t'Prefer best available flavor (llms-full.txt > llms.txt > others)' [INFO] [stdout] full\t'Force llms-full.txt if available' [INFO] [stdout] txt\t'Force llms.txt if available'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l all -d 'Update all sources' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -s y -l yes -d 'Apply changes without prompting (e.g., auto-upgrade to llms-full)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l since -d 'Show changes since timestamp' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "instruct" -d 'Print instructions for agent use of blz' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "completions" -d 'Generate shell completions' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "alias" -d 'Manage aliases for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "docs" -d 'Generate CLI docs from the clap definitions' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "add" -d 'Add a new source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "lookup" -d 'Search registries for documentation to add' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "search" -d 'Search across cached docs' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "get" -d 'Get exact lines from a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "list" -d 'List all cached sources' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "update" -d 'Update sources' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "remove" -d 'Remove/delete a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "diff" -d 'View diffs (coming soon)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and __fish_seen_subcommand_from alias" -f -a "add" -d 'Add an alias for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and __fish_seen_subcommand_from alias" -f -a "rm" -d 'Remove an alias from a source' [INFO] [stdout] #compdef blz [INFO] [stdout] [INFO] [stdout] autoload -U is-at-least [INFO] [stdout] [INFO] [stdout] _blz() { [INFO] [stdout] typeset -A opt_args [INFO] [stdout] typeset -a _arguments_options [INFO] [stdout] local ret=1 [INFO] [stdout] [INFO] [stdout] if is-at-least 5.2; then [INFO] [stdout] _arguments_options=(-s -S -C) [INFO] [stdout] else [INFO] [stdout] _arguments_options=(-s -C) [INFO] [stdout] fi [INFO] [stdout] [INFO] [stdout] local context curcontext="$curcontext" state line [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '-V[Print version]' \ [INFO] [stdout] '--version[Print version]' \ [INFO] [stdout] '::args -- Arguments for default search command:_default' \ [INFO] [stdout] ":: :_blz_commands" \ [INFO] [stdout] "*::: :->blz" \ [INFO] [stdout] && ret=0 [INFO] [stdout] case $state in [INFO] [stdout] (blz) [INFO] [stdout] words=($line[2] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-command-$line[2]:" [INFO] [stdout] case $line[2] in [INFO] [stdout] (instruct) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (completions) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-o+[Output format for listing]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format for listing]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--list[List supported shells instead of generating a script]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '::shell -- Shell to generate completions for:(bash elvish fish powershell zsh)' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (alias) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '::args -- Arguments for default search command:_default' \ [INFO] [stdout] ":: :_blz__alias_commands" \ [INFO] [stdout] "*::: :->alias" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (alias) [INFO] [stdout] words=($line[2] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-alias-command-$line[2]:" [INFO] [stdout] case $line[2] in [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':source -- Canonical source:_default' \ [INFO] [stdout] ':alias -- Alias to add (e.g., @scope/package):_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (rm) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':source -- Canonical source:_default' \ [INFO] [stdout] ':alias -- Alias to remove:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_blz__alias__help_commands" \ [INFO] [stdout] "*::: :->help" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (help) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-alias-help-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (rm) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] (docs) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--format=[Output format for docs Defaults to \`markdown\`]:FORMAT:(markdown json)' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-y[Auto-select the best flavor without prompts]' \ [INFO] [stdout] '--yes[Auto-select the best flavor without prompts]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':alias -- Alias for the source:_default' \ [INFO] [stdout] ':url -- URL to fetch llms.txt from:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (lookup) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] ':query -- Search query (tool name, partial name, etc.):_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (search) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-s+[Filter by alias (also accepts --source)]:ALIAS:_default' \ [INFO] [stdout] '--alias=[Filter by alias (also accepts --source)]:ALIAS:_default' \ [INFO] [stdout] '--source=[Filter by alias (also accepts --source)]:ALIAS:_default' \ [INFO] [stdout] '-n+[Maximum number of results]:LIMIT:_default' \ [INFO] [stdout] '--limit=[Maximum number of results]:LIMIT:_default' \ [INFO] [stdout] '--page=[Page number for pagination]:PAGE:_default' \ [INFO] [stdout] '--top=[Show only top N percentile of results (1-100)]:TOP:_default' \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--last[Jump to last page of results]' \ [INFO] [stdout] '--all[Show all results (no limit)]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] ':query -- Search query:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (get) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-l+[Line range(s) (e.g., "120-142", "36\:43,320\:350", "36+20")]:LINES:_default' \ [INFO] [stdout] '--lines=[Line range(s) (e.g., "120-142", "36\:43,320\:350", "36+20")]:LINES:_default' \ [INFO] [stdout] '-c+[Context lines around each line/range]:CONTEXT:_default' \ [INFO] [stdout] '--context=[Context lines around each line/range]:CONTEXT:_default' \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] ':alias -- Source alias:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (list) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--status[Include status/health information (etag, lastModified, checksum)]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (sources) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--status[Include status/health information (etag, lastModified, checksum)]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (update) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--flavor=[Choose update flavor policy]:FLAVOR:((current\:"Keep current URL/flavor" [INFO] [stdout] auto\:"Prefer best available flavor (llms-full.txt > llms.txt > others)" [INFO] [stdout] full\:"Force llms-full.txt if available" [INFO] [stdout] txt\:"Force llms.txt if available"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--all[Update all sources]' \ [INFO] [stdout] '-y[Apply changes without prompting (e.g., auto-upgrade to llms-full)]' \ [INFO] [stdout] '--yes[Apply changes without prompting (e.g., auto-upgrade to llms-full)]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '::alias -- Specific alias to update (updates all if not specified):_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (remove) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':alias -- Source alias:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (diff) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--since=[Show changes since timestamp]:SINCE:_default' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':alias -- Source alias:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_blz__help_commands" \ [INFO] [stdout] "*::: :->help" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (help) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-help-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (instruct) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (completions) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (alias) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_blz__help__alias_commands" \ [INFO] [stdout] "*::: :->alias" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (alias) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-help-alias-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (rm) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] (docs) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (lookup) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (search) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (get) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (list) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (update) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (remove) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (diff) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] (( $+functions[_blz_commands] )) || [INFO] [stdout] _blz_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'instruct:Print instructions for agent use of blz' \ [INFO] [stdout] 'completions:Generate shell completions' \ [INFO] [stdout] 'alias:Manage aliases for a source' \ [INFO] [stdout] 'docs:Generate CLI docs from the clap definitions' \ [INFO] [stdout] 'add:Add a new source' \ [INFO] [stdout] 'lookup:Search registries for documentation to add' \ [INFO] [stdout] 'search:Search across cached docs' \ [INFO] [stdout] 'get:Get exact lines from a source' \ [INFO] [stdout] 'list:List all cached sources' \ [INFO] [stdout] 'sources:List all cached sources' \ [INFO] [stdout] 'update:Update sources' \ [INFO] [stdout] 'remove:Remove/delete a source' \ [INFO] [stdout] 'diff:View diffs (coming soon)' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__add_commands] )) || [INFO] [stdout] _blz__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias_commands] )) || [INFO] [stdout] _blz__alias_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'add:Add an alias for a source' \ [INFO] [stdout] 'rm:Remove an alias from a source' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz alias commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__add_commands] )) || [INFO] [stdout] _blz__alias__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__help_commands] )) || [INFO] [stdout] _blz__alias__help_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'add:Add an alias for a source' \ [INFO] [stdout] 'rm:Remove an alias from a source' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz alias help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__help__add_commands] )) || [INFO] [stdout] _blz__alias__help__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias help add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__help__help_commands] )) || [INFO] [stdout] _blz__alias__help__help_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias help help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__help__rm_commands] )) || [INFO] [stdout] _blz__alias__help__rm_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias help rm commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__rm_commands] )) || [INFO] [stdout] _blz__alias__rm_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias rm commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__completions_commands] )) || [INFO] [stdout] _blz__completions_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz completions commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__diff_commands] )) || [INFO] [stdout] _blz__diff_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz diff commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__docs_commands] )) || [INFO] [stdout] _blz__docs_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz docs commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__get_commands] )) || [INFO] [stdout] _blz__get_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz get commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help_commands] )) || [INFO] [stdout] _blz__help_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'instruct:Print instructions for agent use of blz' \ [INFO] [stdout] 'completions:Generate shell completions' \ [INFO] [stdout] 'alias:Manage aliases for a source' \ [INFO] [stdout] 'docs:Generate CLI docs from the clap definitions' \ [INFO] [stdout] 'add:Add a new source' \ [INFO] [stdout] 'lookup:Search registries for documentation to add' \ [INFO] [stdout] 'search:Search across cached docs' \ [INFO] [stdout] 'get:Get exact lines from a source' \ [INFO] [stdout] 'list:List all cached sources' \ [INFO] [stdout] 'update:Update sources' \ [INFO] [stdout] 'remove:Remove/delete a source' \ [INFO] [stdout] 'diff:View diffs (coming soon)' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__add_commands] )) || [INFO] [stdout] _blz__help__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__alias_commands] )) || [INFO] [stdout] _blz__help__alias_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'add:Add an alias for a source' \ [INFO] [stdout] 'rm:Remove an alias from a source' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz help alias commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__alias__add_commands] )) || [INFO] [stdout] _blz__help__alias__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help alias add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__alias__rm_commands] )) || [INFO] [stdout] _blz__help__alias__rm_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help alias rm commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__completions_commands] )) || [INFO] [stdout] _blz__help__completions_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help completions commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__diff_commands] )) || [INFO] [stdout] _blz__help__diff_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help diff commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__docs_commands] )) || [INFO] [stdout] _blz__help__docs_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help docs commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__get_commands] )) || [INFO] [stdout] _blz__help__get_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help get commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__help_commands] )) || [INFO] [stdout] _blz__help__help_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__instruct_commands] )) || [INFO] [stdout] _blz__help__instruct_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help instruct commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__list_commands] )) || [INFO] [stdout] _blz__help__list_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help list commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__lookup_commands] )) || [INFO] [stdout] _blz__help__lookup_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help lookup commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__remove_commands] )) || [INFO] [stdout] _blz__help__remove_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help remove commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__search_commands] )) || [INFO] [stdout] _blz__help__search_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help search commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__update_commands] )) || [INFO] [stdout] _blz__help__update_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help update commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__instruct_commands] )) || [INFO] [stdout] _blz__instruct_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz instruct commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__list_commands] )) || [INFO] [stdout] _blz__list_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz list commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__lookup_commands] )) || [INFO] [stdout] _blz__lookup_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz lookup commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__remove_commands] )) || [INFO] [stdout] _blz__remove_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz remove commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__search_commands] )) || [INFO] [stdout] _blz__search_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz search commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__update_commands] )) || [INFO] [stdout] _blz__update_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz update commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] if [ "$funcstack[1]" = "_blz" ]; then [INFO] [stdout] _blz "$@" [INFO] [stdout] else [INFO] [stdout] compdef _blz blz [INFO] [stdout] fi [INFO] [stdout] [INFO] [stdout] using namespace System.Management.Automation [INFO] [stdout] using namespace System.Management.Automation.Language [INFO] [stdout] [INFO] [stdout] Register-ArgumentCompleter -Native -CommandName 'blz' -ScriptBlock { [INFO] [stdout] param($wordToComplete, $commandAst, $cursorPosition) [INFO] [stdout] [INFO] [stdout] $commandElements = $commandAst.CommandElements [INFO] [stdout] $command = @( [INFO] [stdout] 'blz' [INFO] [stdout] for ($i = 1; $i -lt $commandElements.Count; $i++) { [INFO] [stdout] $element = $commandElements[$i] [INFO] [stdout] if ($element -isnot [StringConstantExpressionAst] -or [INFO] [stdout] $element.StringConstantType -ne [StringConstantType]::BareWord -or [INFO] [stdout] $element.Value.StartsWith('-') -or [INFO] [stdout] $element.Value -eq $wordToComplete) { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] $element.Value [INFO] [stdout] }) -join ';' [INFO] [stdout] [INFO] [stdout] $completions = @(switch ($command) { [INFO] [stdout] 'blz' { [INFO] [stdout] [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`') [INFO] [stdout] [CompletionResult]::new('--config-dir', '--config-dir', [CompletionResultType]::ParameterName, 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`') [INFO] [stdout] [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'v') [INFO] [stdout] [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'verbose') [INFO] [stdout] [CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--debug', '--debug', [CompletionResultType]::ParameterName, 'Show detailed performance metrics') [INFO] [stdout] [CompletionResult]::new('--profile', '--profile', [CompletionResultType]::ParameterName, 'Show resource usage (memory, CPU)') [INFO] [stdout] [CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Disable all ANSI colors in output (also respects `NO_COLOR` env)') [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] [CompletionResult]::new('-V', '-V ', [CompletionResultType]::ParameterName, 'Print version') [INFO] [stdout] [CompletionResult]::new('--version', '--version', [CompletionResultType]::ParameterName, 'Print version') [INFO] [stdout] [CompletionResult]::new('instruct', 'instruct', [CompletionResultType]::ParameterValue, 'Print instructions for agent use of blz') [INFO] [stdout] [CompletionResult]::new('completions', 'completions', [CompletionResultType]::ParameterValue, 'Generate shell completions') [INFO] [stdout] [CompletionResult]::new('alias', 'alias', [CompletionResultType]::ParameterValue, 'Manage aliases for a source') [INFO] [stdout] [CompletionResult]::new('docs', 'docs', [CompletionResultType]::ParameterValue, 'Generate CLI docs from the clap definitions') [INFO] [stdout] [CompletionResult]::new('add', 'add', [CompletionResultType]::ParameterValue, 'Add a new source') [INFO] [stdout] [CompletionResult]::new('lookup', 'lookup', [CompletionResultType]::ParameterValue, 'Search registries for documentation to add') [INFO] [stdout] [CompletionResult]::new('search', 'search', [CompletionResultType]::ParameterValue, 'Search across cached docs') [INFO] [stdout] [CompletionResult]::new('get', 'get', [CompletionResultType]::ParameterValue, 'Get exact lines from a source') [INFO] [stdout] [CompletionResult]::new('list', 'list', [CompletionResultType]::ParameterValue, 'List all cached sources') [INFO] [stdout] [CompletionResult]::new('sources', 'sources', [CompletionResultType]::ParameterValue, 'List all cached sources') [INFO] [stdout] [CompletionResult]::new('update', 'update', [CompletionResultType]::ParameterValue, 'Update sources') [INFO] [stdout] [CompletionResult]::new('remove', 'remove', [CompletionResultType]::ParameterValue, 'Remove/delete a source') [INFO] [stdout] [CompletionResult]::new('diff', 'diff', [CompletionResultType]::ParameterValue, 'View diffs (coming soon)') [INFO] [stdout] [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;instruct' { [INFO] [stdout] [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`') [INFO] [stdout] [CompletionResult]::new('--config-dir', '--config-dir', [CompletionResultType]::ParameterName, 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`') [INFO] [stdout] [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'v') [INFO] [stdout] [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'verbose') [INFO] [stdout] [CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--debug', '--debug', [CompletionResultType]::ParameterName, 'Show detailed performance metrics') [INFO] [stdout] [CompletionResult]::new('--profile', '--profile', [CompletionResultType]::ParameterName, 'Show resource usage (memory, CPU)') [INFO] [stdout] [CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Disable all ANSI colors in output (also respects `NO_COLOR` env)') [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;completions' { [INFO] [stdout] [CompletionResult]::new('-o', '-o', [CompletionResultType]::ParameterName, 'Output format for listing') [INFO] [stdout] [CompletionResult]::new('--output', '--output', [CompletionResultType]::ParameterName, 'Output format for listing') [INFO] [stdout] [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`') [INFO] [stdout] [CompletionResult]::new('--config-dir', '--config-dir', [CompletionResultType]::ParameterName, 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`') [INFO] [stdout] [CompletionResult]::new('--list', '--list', [CompletionResultType]::ParameterName, 'List supported shells instead of generating a script') [INFO] [stdout] [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'v') [INFO] [stdout] [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'verbose') [INFO] [stdout] [CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--debug', '--debug', [CompletionResultType]::ParameterName, 'Show detailed performance metrics') [INFO] [stdout] [CompletionResult]::new('--profile', '--profile', [CompletionResultType]::ParameterName, 'Show resource usage (memory, CPU)') [INFO] [stdout] [CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Disable all ANSI colors in output (also respects `NO_COLOR` env)') [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;alias' { [INFO] [stdout] [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`') [INFO] [stdout] [CompletionResult]::new('--config-dir', '--config-dir', [CompletionResultType]::ParameterName, 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`') [INFO] [stdout] [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'v') [INFO] [stdout] [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'verbose') [INFO] [stdout] [CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--debug', '--debug', [CompletionResultType]::ParameterName, 'Show detailed performance metrics') [INFO] [stdout] [CompletionResult]::new('--profile', '--profile', [CompletionResultType]::ParameterName, 'Show resource usage (memory, CPU)') [INFO] [stdout] [CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Disable all ANSI colors in output (also respects `NO_COLOR` env)') [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] [CompletionResult]::new('add', 'add', [CompletionResultType]::ParameterValue, 'Add an alias for a source') [INFO] [stdout] [CompletionResult]::new('rm', 'rm', [CompletionResultType]::ParameterValue, 'Remove an alias from a source') [INFO] [stdout] [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;alias;add' { [INFO] [stdout] [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`') [INFO] [stdout] [CompletionResult]::new('--config-dir', '--config-dir', [CompletionResultType]::ParameterName, 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`') [INFO] [stdout] [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'v') [INFO] [stdout] [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'verbose') [INFO] [stdout] [CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--debug', '--debug', [CompletionResultType]::ParameterName, 'Show detailed performance metrics') [INFO] [stdout] [CompletionResult]::new('--profile', '--profile', [CompletionResultType]::ParameterName, 'Show resource usage (memory, CPU)') [INFO] [stdout] [CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Disable all ANSI colors in output (also respects `NO_COLOR` env)') [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;alias;rm' { [INFO] [stdout] [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`') [INFO] [stdout] [CompletionResult]::new('--config-dir', '--config-dir', [CompletionResultType]::ParameterName, 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`') [INFO] [stdout] [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'v') [INFO] [stdout] [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'verbose') [INFO] [stdout] [CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--debug', '--debug', [CompletionResultType]::ParameterName, 'Show detailed performance metrics') [INFO] [stdout] [CompletionResult]::new('--profile', '--profile', [CompletionResultType]::ParameterName, 'Show resource usage (memory, CPU)') [INFO] [stdout] [CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Disable all ANSI colors in output (also respects `NO_COLOR` env)') [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;alias;help' { [INFO] [stdout] [CompletionResult]::new('add', 'add', [CompletionResultType]::ParameterValue, 'Add an alias for a source') [INFO] [stdout] [CompletionResult]::new('rm', 'rm', [CompletionResultType]::ParameterValue, 'Remove an alias from a source') [INFO] [stdout] [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;alias;help;add' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;alias;help;rm' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;alias;help;help' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;docs' { [INFO] [stdout] [CompletionResult]::new('--format', '--format', [CompletionResultType]::ParameterName, 'Output format for docs Defaults to `markdown`') [INFO] [stdout] [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`') [INFO] [stdout] [CompletionResult]::new('--config-dir', '--config-dir', [CompletionResultType]::ParameterName, 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`') [INFO] [stdout] [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'v') [INFO] [stdout] [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'verbose') [INFO] [stdout] [CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--debug', '--debug', [CompletionResultType]::ParameterName, 'Show detailed performance metrics') [INFO] [stdout] [CompletionResult]::new('--profile', '--profile', [CompletionResultType]::ParameterName, 'Show resource usage (memory, CPU)') [INFO] [stdout] [CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Disable all ANSI colors in output (also respects `NO_COLOR` env)') [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;add' { [INFO] [stdout] [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`') [INFO] [stdout] [CompletionResult]::new('--config-dir', '--config-dir', [CompletionResultType]::ParameterName, 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`') [INFO] [stdout] [CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Auto-select the best flavor without prompts') [INFO] [stdout] [CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Auto-select the best flavor without prompts') [INFO] [stdout] [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'v') [INFO] [stdout] [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'verbose') [INFO] [stdout] [CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--debug', '--debug', [CompletionResultType]::ParameterName, 'Show detailed performance metrics') [INFO] [stdout] [CompletionResult]::new('--profile', '--profile', [CompletionResultType]::ParameterName, 'Show resource usage (memory, CPU)') [INFO] [stdout] [CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Disable all ANSI colors in output (also respects `NO_COLOR` env)') [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;lookup' { [INFO] [stdout] [CompletionResult]::new('-o', '-o', [CompletionResultType]::ParameterName, 'Output format') [INFO] [stdout] [CompletionResult]::new('--output', '--output', [CompletionResultType]::ParameterName, 'Output format') [INFO] [stdout] [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`') [INFO] [stdout] [CompletionResult]::new('--config-dir', '--config-dir', [CompletionResultType]::ParameterName, 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`') [INFO] [stdout] [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'v') [INFO] [stdout] [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'verbose') [INFO] [stdout] [CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--debug', '--debug', [CompletionResultType]::ParameterName, 'Show detailed performance metrics') [INFO] [stdout] [CompletionResult]::new('--profile', '--profile', [CompletionResultType]::ParameterName, 'Show resource usage (memory, CPU)') [INFO] [stdout] [CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Disable all ANSI colors in output (also respects `NO_COLOR` env)') [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;search' { [INFO] [stdout] [CompletionResult]::new('-s', '-s', [CompletionResultType]::ParameterName, 'Filter by alias (also accepts --source)') [INFO] [stdout] [CompletionResult]::new('--alias', '--alias', [CompletionResultType]::ParameterName, 'Filter by alias (also accepts --source)') [INFO] [stdout] [CompletionResult]::new('--source', '--source', [CompletionResultType]::ParameterName, 'Filter by alias (also accepts --source)') [INFO] [stdout] [CompletionResult]::new('-n', '-n', [CompletionResultType]::ParameterName, 'Maximum number of results') [INFO] [stdout] [CompletionResult]::new('--limit', '--limit', [CompletionResultType]::ParameterName, 'Maximum number of results') [INFO] [stdout] [CompletionResult]::new('--page', '--page', [CompletionResultType]::ParameterName, 'Page number for pagination') [INFO] [stdout] [CompletionResult]::new('--top', '--top', [CompletionResultType]::ParameterName, 'Show only top N percentile of results (1-100)') [INFO] [stdout] [CompletionResult]::new('-o', '-o', [CompletionResultType]::ParameterName, 'Output format') [INFO] [stdout] [CompletionResult]::new('--output', '--output', [CompletionResultType]::ParameterName, 'Output format') [INFO] [stdout] [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`') [INFO] [stdout] [CompletionResult]::new('--config-dir', '--config-dir', [CompletionResultType]::ParameterName, 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`') [INFO] [stdout] [CompletionResult]::new('--last', '--last', [CompletionResultType]::ParameterName, 'Jump to last page of results') [INFO] [stdout] [CompletionResult]::new('--all', '--all', [CompletionResultType]::ParameterName, 'Show all results (no limit)') [INFO] [stdout] [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'v') [INFO] [stdout] [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'verbose') [INFO] [stdout] [CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--debug', '--debug', [CompletionResultType]::ParameterName, 'Show detailed performance metrics') [INFO] [stdout] [CompletionResult]::new('--profile', '--profile', [CompletionResultType]::ParameterName, 'Show resource usage (memory, CPU)') [INFO] [stdout] [CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Disable all ANSI colors in output (also respects `NO_COLOR` env)') [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;get' { [INFO] [stdout] [CompletionResult]::new('-l', '-l', [CompletionResultType]::ParameterName, 'Line range(s) (e.g., "120-142", "36:43,320:350", "36+20")') [INFO] [stdout] [CompletionResult]::new('--lines', '--lines', [CompletionResultType]::ParameterName, 'Line range(s) (e.g., "120-142", "36:43,320:350", "36+20")') [INFO] [stdout] [CompletionResult]::new('-c', '-c', [CompletionResultType]::ParameterName, 'Context lines around each line/range') [INFO] [stdout] [CompletionResult]::new('--context', '--context', [CompletionResultType]::ParameterName, 'Context lines around each line/range') [INFO] [stdout] [CompletionResult]::new('-o', '-o', [CompletionResultType]::ParameterName, 'Output format') [INFO] [stdout] [CompletionResult]::new('--output', '--output', [CompletionResultType]::ParameterName, 'Output format') [INFO] [stdout] [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`') [INFO] [stdout] [CompletionResult]::new('--config-dir', '--config-dir', [CompletionResultType]::ParameterName, 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`') [INFO] [stdout] [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'v') [INFO] [stdout] [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'verbose') [INFO] [stdout] [CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--debug', '--debug', [CompletionResultType]::ParameterName, 'Show detailed performance metrics') [INFO] [stdout] [CompletionResult]::new('--profile', '--profile', [CompletionResultType]::ParameterName, 'Show resource usage (memory, CPU)') [INFO] [stdout] [CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Disable all ANSI colors in output (also respects `NO_COLOR` env)') [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;list' { [INFO] [stdout] [CompletionResult]::new('-o', '-o', [CompletionResultType]::ParameterName, 'Output format') [INFO] [stdout] [CompletionResult]::new('--output', '--output', [CompletionResultType]::ParameterName, 'Output format') [INFO] [stdout] [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`') [INFO] [stdout] [CompletionResult]::new('--config-dir', '--config-dir', [CompletionResultType]::ParameterName, 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`') [INFO] [stdout] [CompletionResult]::new('--status', '--status', [CompletionResultType]::ParameterName, 'Include status/health information (etag, lastModified, checksum)') [INFO] [stdout] [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'v') [INFO] [stdout] [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'verbose') [INFO] [stdout] [CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--debug', '--debug', [CompletionResultType]::ParameterName, 'Show detailed performance metrics') [INFO] [stdout] [CompletionResult]::new('--profile', '--profile', [CompletionResultType]::ParameterName, 'Show resource usage (memory, CPU)') [INFO] [stdout] [CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Disable all ANSI colors in output (also respects `NO_COLOR` env)') [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;sources' { [INFO] [stdout] [CompletionResult]::new('-o', '-o', [CompletionResultType]::ParameterName, 'Output format') [INFO] [stdout] [CompletionResult]::new('--output', '--output', [CompletionResultType]::ParameterName, 'Output format') [INFO] [stdout] [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`') [INFO] [stdout] [CompletionResult]::new('--config-dir', '--config-dir', [CompletionResultType]::ParameterName, 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`') [INFO] [stdout] [CompletionResult]::new('--status', '--status', [CompletionResultType]::ParameterName, 'Include status/health information (etag, lastModified, checksum)') [INFO] [stdout] [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'v') [INFO] [stdout] [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'verbose') [INFO] [stdout] [CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--debug', '--debug', [CompletionResultType]::ParameterName, 'Show detailed performance metrics') [INFO] [stdout] [CompletionResult]::new('--profile', '--profile', [CompletionResultType]::ParameterName, 'Show resource usage (memory, CPU)') [INFO] [stdout] [CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Disable all ANSI colors in output (also respects `NO_COLOR` env)') [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;update' { [INFO] [stdout] [CompletionResult]::new('--flavor', '--flavor', [CompletionResultType]::ParameterName, 'Choose update flavor policy') [INFO] [stdout] [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`') [INFO] [stdout] [CompletionResult]::new('--config-dir', '--config-dir', [CompletionResultType]::ParameterName, 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`') [INFO] [stdout] [CompletionResult]::new('--all', '--all', [CompletionResultType]::ParameterName, 'Update all sources') [INFO] [stdout] [CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Apply changes without prompting (e.g., auto-upgrade to llms-full)') [INFO] [stdout] [CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Apply changes without prompting (e.g., auto-upgrade to llms-full)') [INFO] [stdout] [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'v') [INFO] [stdout] [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'verbose') [INFO] [stdout] [CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--debug', '--debug', [CompletionResultType]::ParameterName, 'Show detailed performance metrics') [INFO] [stdout] [CompletionResult]::new('--profile', '--profile', [CompletionResultType]::ParameterName, 'Show resource usage (memory, CPU)') [INFO] [stdout] [CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Disable all ANSI colors in output (also respects `NO_COLOR` env)') [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;remove' { [INFO] [stdout] [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`') [INFO] [stdout] [CompletionResult]::new('--config-dir', '--config-dir', [CompletionResultType]::ParameterName, 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`') [INFO] [stdout] [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'v') [INFO] [stdout] [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'verbose') [INFO] [stdout] [CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--debug', '--debug', [CompletionResultType]::ParameterName, 'Show detailed performance metrics') [INFO] [stdout] [CompletionResult]::new('--profile', '--profile', [CompletionResultType]::ParameterName, 'Show resource usage (memory, CPU)') [INFO] [stdout] [CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Disable all ANSI colors in output (also respects `NO_COLOR` env)') [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;diff' { [INFO] [stdout] [CompletionResult]::new('--since', '--since', [CompletionResultType]::ParameterName, 'Show changes since timestamp') [INFO] [stdout] [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`') [INFO] [stdout] [CompletionResult]::new('--config-dir', '--config-dir', [CompletionResultType]::ParameterName, 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`') [INFO] [stdout] [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'v') [INFO] [stdout] [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'verbose') [INFO] [stdout] [CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Suppress informational messages (only show errors)') [INFO] [stdout] [CompletionResult]::new('--debug', '--debug', [CompletionResultType]::ParameterName, 'Show detailed performance metrics') [INFO] [stdout] [CompletionResult]::new('--profile', '--profile', [CompletionResultType]::ParameterName, 'Show resource usage (memory, CPU)') [INFO] [stdout] [CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Disable all ANSI colors in output (also respects `NO_COLOR` env)') [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;help' { [INFO] [stdout] [CompletionResult]::new('instruct', 'instruct', [CompletionResultType]::ParameterValue, 'Print instructions for agent use of blz') [INFO] [stdout] [CompletionResult]::new('completions', 'completions', [CompletionResultType]::ParameterValue, 'Generate shell completions') [INFO] [stdout] [CompletionResult]::new('alias', 'alias', [CompletionResultType]::ParameterValue, 'Manage aliases for a source') [INFO] [stdout] [CompletionResult]::new('docs', 'docs', [CompletionResultType]::ParameterValue, 'Generate CLI docs from the clap definitions') [INFO] [stdout] [CompletionResult]::new('add', 'add', [CompletionResultType]::ParameterValue, 'Add a new source') [INFO] [stdout] [CompletionResult]::new('lookup', 'lookup', [CompletionResultType]::ParameterValue, 'Search registries for documentation to add') [INFO] [stdout] [CompletionResult]::new('search', 'search', [CompletionResultType]::ParameterValue, 'Search across cached docs') [INFO] [stdout] [CompletionResult]::new('get', 'get', [CompletionResultType]::ParameterValue, 'Get exact lines from a source') [INFO] [stdout] [CompletionResult]::new('list', 'list', [CompletionResultType]::ParameterValue, 'List all cached sources') [INFO] [stdout] [CompletionResult]::new('update', 'update', [CompletionResultType]::ParameterValue, 'Update sources') [INFO] [stdout] [CompletionResult]::new('remove', 'remove', [CompletionResultType]::ParameterValue, 'Remove/delete a source') [INFO] [stdout] [CompletionResult]::new('diff', 'diff', [CompletionResultType]::ParameterValue, 'View diffs (coming soon)') [INFO] [stdout] [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;help;instruct' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;help;completions' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;help;alias' { [INFO] [stdout] [CompletionResult]::new('add', 'add', [CompletionResultType]::ParameterValue, 'Add an alias for a source') [INFO] [stdout] [CompletionResult]::new('rm', 'rm', [CompletionResultType]::ParameterValue, 'Remove an alias from a source') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;help;alias;add' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;help;alias;rm' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;help;docs' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;help;add' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;help;lookup' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;help;search' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;help;get' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;help;list' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;help;update' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;help;remove' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;help;diff' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'blz;help;help' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] }) [INFO] [stdout] [INFO] [stdout] $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | [INFO] [stdout] Sort-Object -Property ListItemText [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] use builtin; [INFO] [stdout] use str; [INFO] [stdout] [INFO] [stdout] set edit:completion:arg-completer[blz] = {|@words| [INFO] [stdout] fn spaces {|n| [INFO] [stdout] builtin:repeat $n ' ' | str:join '' [INFO] [stdout] } [INFO] [stdout] fn cand {|text desc| [INFO] [stdout] edit:complex-candidate $text &display=$text' '(spaces (- 14 (wcswidth $text)))$desc [INFO] [stdout] } [INFO] [stdout] var command = 'blz' [INFO] [stdout] for word $words[1..-1] { [INFO] [stdout] if (str:has-prefix $word '-') { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] set command = $command';'$word [INFO] [stdout] } [INFO] [stdout] var completions = [ [INFO] [stdout] &'blz'= { [INFO] [stdout] cand --config 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' [INFO] [stdout] cand --config-dir 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' [INFO] [stdout] cand -v 'v' [INFO] [stdout] cand --verbose 'verbose' [INFO] [stdout] cand -q 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --quiet 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --debug 'Show detailed performance metrics' [INFO] [stdout] cand --profile 'Show resource usage (memory, CPU)' [INFO] [stdout] cand --no-color 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] cand -h 'Print help' [INFO] [stdout] cand --help 'Print help' [INFO] [stdout] cand -V 'Print version' [INFO] [stdout] cand --version 'Print version' [INFO] [stdout] cand instruct 'Print instructions for agent use of blz' [INFO] [stdout] cand completions 'Generate shell completions' [INFO] [stdout] cand alias 'Manage aliases for a source' [INFO] [stdout] cand docs 'Generate CLI docs from the clap definitions' [INFO] [stdout] cand add 'Add a new source' [INFO] [stdout] cand lookup 'Search registries for documentation to add' [INFO] [stdout] cand search 'Search across cached docs' [INFO] [stdout] cand get 'Get exact lines from a source' [INFO] [stdout] cand list 'List all cached sources' [INFO] [stdout] cand sources 'List all cached sources' [INFO] [stdout] cand update 'Update sources' [INFO] [stdout] cand remove 'Remove/delete a source' [INFO] [stdout] cand diff 'View diffs (coming soon)' [INFO] [stdout] cand help 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] } [INFO] [stdout] &'blz;instruct'= { [INFO] [stdout] cand --config 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' [INFO] [stdout] cand --config-dir 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' [INFO] [stdout] cand -v 'v' [INFO] [stdout] cand --verbose 'verbose' [INFO] [stdout] cand -q 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --quiet 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --debug 'Show detailed performance metrics' [INFO] [stdout] cand --profile 'Show resource usage (memory, CPU)' [INFO] [stdout] cand --no-color 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] cand -h 'Print help' [INFO] [stdout] cand --help 'Print help' [INFO] [stdout] } [INFO] [stdout] &'blz;completions'= { [INFO] [stdout] cand -o 'Output format for listing' [INFO] [stdout] cand --output 'Output format for listing' [INFO] [stdout] cand --config 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' [INFO] [stdout] cand --config-dir 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' [INFO] [stdout] cand --list 'List supported shells instead of generating a script' [INFO] [stdout] cand -v 'v' [INFO] [stdout] cand --verbose 'verbose' [INFO] [stdout] cand -q 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --quiet 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --debug 'Show detailed performance metrics' [INFO] [stdout] cand --profile 'Show resource usage (memory, CPU)' [INFO] [stdout] cand --no-color 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] cand -h 'Print help (see more with ''--help'')' [INFO] [stdout] cand --help 'Print help (see more with ''--help'')' [INFO] [stdout] } [INFO] [stdout] &'blz;alias'= { [INFO] [stdout] cand --config 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' [INFO] [stdout] cand --config-dir 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' [INFO] [stdout] cand -v 'v' [INFO] [stdout] cand --verbose 'verbose' [INFO] [stdout] cand -q 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --quiet 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --debug 'Show detailed performance metrics' [INFO] [stdout] cand --profile 'Show resource usage (memory, CPU)' [INFO] [stdout] cand --no-color 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] cand -h 'Print help' [INFO] [stdout] cand --help 'Print help' [INFO] [stdout] cand add 'Add an alias for a source' [INFO] [stdout] cand rm 'Remove an alias from a source' [INFO] [stdout] cand help 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] } [INFO] [stdout] &'blz;alias;add'= { [INFO] [stdout] cand --config 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' [INFO] [stdout] cand --config-dir 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' [INFO] [stdout] cand -v 'v' [INFO] [stdout] cand --verbose 'verbose' [INFO] [stdout] cand -q 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --quiet 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --debug 'Show detailed performance metrics' [INFO] [stdout] cand --profile 'Show resource usage (memory, CPU)' [INFO] [stdout] cand --no-color 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] cand -h 'Print help' [INFO] [stdout] cand --help 'Print help' [INFO] [stdout] } [INFO] [stdout] &'blz;alias;rm'= { [INFO] [stdout] cand --config 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' [INFO] [stdout] cand --config-dir 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' [INFO] [stdout] cand -v 'v' [INFO] [stdout] cand --verbose 'verbose' [INFO] [stdout] cand -q 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --quiet 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --debug 'Show detailed performance metrics' [INFO] [stdout] cand --profile 'Show resource usage (memory, CPU)' [INFO] [stdout] cand --no-color 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] cand -h 'Print help' [INFO] [stdout] cand --help 'Print help' [INFO] [stdout] } [INFO] [stdout] &'blz;alias;help'= { [INFO] [stdout] cand add 'Add an alias for a source' [INFO] [stdout] cand rm 'Remove an alias from a source' [INFO] [stdout] cand help 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] } [INFO] [stdout] &'blz;alias;help;add'= { [INFO] [stdout] } [INFO] [stdout] &'blz;alias;help;rm'= { [INFO] [stdout] } [INFO] [stdout] &'blz;alias;help;help'= { [INFO] [stdout] } [INFO] [stdout] &'blz;docs'= { [INFO] [stdout] cand --format 'Output format for docs Defaults to `markdown`' [INFO] [stdout] cand --config 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' [INFO] [stdout] cand --config-dir 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' [INFO] [stdout] cand -v 'v' [INFO] [stdout] cand --verbose 'verbose' [INFO] [stdout] cand -q 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --quiet 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --debug 'Show detailed performance metrics' [INFO] [stdout] cand --profile 'Show resource usage (memory, CPU)' [INFO] [stdout] cand --no-color 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] cand -h 'Print help' [INFO] [stdout] cand --help 'Print help' [INFO] [stdout] } [INFO] [stdout] &'blz;add'= { [INFO] [stdout] cand --config 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' [INFO] [stdout] cand --config-dir 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' [INFO] [stdout] cand -y 'Auto-select the best flavor without prompts' [INFO] [stdout] cand --yes 'Auto-select the best flavor without prompts' [INFO] [stdout] cand -v 'v' [INFO] [stdout] cand --verbose 'verbose' [INFO] [stdout] cand -q 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --quiet 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --debug 'Show detailed performance metrics' [INFO] [stdout] cand --profile 'Show resource usage (memory, CPU)' [INFO] [stdout] cand --no-color 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] cand -h 'Print help' [INFO] [stdout] cand --help 'Print help' [INFO] [stdout] } [INFO] [stdout] &'blz;lookup'= { [INFO] [stdout] cand -o 'Output format' [INFO] [stdout] cand --output 'Output format' [INFO] [stdout] cand --config 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' [INFO] [stdout] cand --config-dir 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' [INFO] [stdout] cand -v 'v' [INFO] [stdout] cand --verbose 'verbose' [INFO] [stdout] cand -q 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --quiet 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --debug 'Show detailed performance metrics' [INFO] [stdout] cand --profile 'Show resource usage (memory, CPU)' [INFO] [stdout] cand --no-color 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] cand -h 'Print help (see more with ''--help'')' [INFO] [stdout] cand --help 'Print help (see more with ''--help'')' [INFO] [stdout] } [INFO] [stdout] &'blz;search'= { [INFO] [stdout] cand -s 'Filter by alias (also accepts --source)' [INFO] [stdout] cand --alias 'Filter by alias (also accepts --source)' [INFO] [stdout] cand --source 'Filter by alias (also accepts --source)' [INFO] [stdout] cand -n 'Maximum number of results' [INFO] [stdout] cand --limit 'Maximum number of results' [INFO] [stdout] cand --page 'Page number for pagination' [INFO] [stdout] cand --top 'Show only top N percentile of results (1-100)' [INFO] [stdout] cand -o 'Output format' [INFO] [stdout] cand --output 'Output format' [INFO] [stdout] cand --config 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' [INFO] [stdout] cand --config-dir 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' [INFO] [stdout] cand --last 'Jump to last page of results' [INFO] [stdout] cand --all 'Show all results (no limit)' [INFO] [stdout] cand -v 'v' [INFO] [stdout] cand --verbose 'verbose' [INFO] [stdout] cand -q 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --quiet 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --debug 'Show detailed performance metrics' [INFO] [stdout] cand --profile 'Show resource usage (memory, CPU)' [INFO] [stdout] cand --no-color 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] cand -h 'Print help (see more with ''--help'')' [INFO] [stdout] cand --help 'Print help (see more with ''--help'')' [INFO] [stdout] } [INFO] [stdout] &'blz;get'= { [INFO] [stdout] cand -l 'Line range(s) (e.g., "120-142", "36:43,320:350", "36+20")' [INFO] [stdout] cand --lines 'Line range(s) (e.g., "120-142", "36:43,320:350", "36+20")' [INFO] [stdout] cand -c 'Context lines around each line/range' [INFO] [stdout] cand --context 'Context lines around each line/range' [INFO] [stdout] cand -o 'Output format' [INFO] [stdout] cand --output 'Output format' [INFO] [stdout] cand --config 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' [INFO] [stdout] cand --config-dir 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' [INFO] [stdout] cand -v 'v' [INFO] [stdout] cand --verbose 'verbose' [INFO] [stdout] cand -q 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --quiet 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --debug 'Show detailed performance metrics' [INFO] [stdout] cand --profile 'Show resource usage (memory, CPU)' [INFO] [stdout] cand --no-color 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] cand -h 'Print help (see more with ''--help'')' [INFO] [stdout] cand --help 'Print help (see more with ''--help'')' [INFO] [stdout] } [INFO] [stdout] &'blz;list'= { [INFO] [stdout] cand -o 'Output format' [INFO] [stdout] cand --output 'Output format' [INFO] [stdout] cand --config 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' [INFO] [stdout] cand --config-dir 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' [INFO] [stdout] cand --status 'Include status/health information (etag, lastModified, checksum)' [INFO] [stdout] cand -v 'v' [INFO] [stdout] cand --verbose 'verbose' [INFO] [stdout] cand -q 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --quiet 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --debug 'Show detailed performance metrics' [INFO] [stdout] cand --profile 'Show resource usage (memory, CPU)' [INFO] [stdout] cand --no-color 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] cand -h 'Print help (see more with ''--help'')' [INFO] [stdout] cand --help 'Print help (see more with ''--help'')' [INFO] [stdout] } [INFO] [stdout] &'blz;sources'= { [INFO] [stdout] cand -o 'Output format' [INFO] [stdout] cand --output 'Output format' [INFO] [stdout] cand --config 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' [INFO] [stdout] cand --config-dir 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' [INFO] [stdout] cand --status 'Include status/health information (etag, lastModified, checksum)' [INFO] [stdout] cand -v 'v' [INFO] [stdout] cand --verbose 'verbose' [INFO] [stdout] cand -q 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --quiet 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --debug 'Show detailed performance metrics' [INFO] [stdout] cand --profile 'Show resource usage (memory, CPU)' [INFO] [stdout] cand --no-color 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] cand -h 'Print help (see more with ''--help'')' [INFO] [stdout] cand --help 'Print help (see more with ''--help'')' [INFO] [stdout] } [INFO] [stdout] &'blz;update'= { [INFO] [stdout] cand --flavor 'Choose update flavor policy' [INFO] [stdout] cand --config 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' [INFO] [stdout] cand --config-dir 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' [INFO] [stdout] cand --all 'Update all sources' [INFO] [stdout] cand -y 'Apply changes without prompting (e.g., auto-upgrade to llms-full)' [INFO] [stdout] cand --yes 'Apply changes without prompting (e.g., auto-upgrade to llms-full)' [INFO] [stdout] cand -v 'v' [INFO] [stdout] cand --verbose 'verbose' [INFO] [stdout] cand -q 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --quiet 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --debug 'Show detailed performance metrics' [INFO] [stdout] cand --profile 'Show resource usage (memory, CPU)' [INFO] [stdout] cand --no-color 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] cand -h 'Print help (see more with ''--help'')' [INFO] [stdout] cand --help 'Print help (see more with ''--help'')' [INFO] [stdout] } [INFO] [stdout] &'blz;remove'= { [INFO] [stdout] cand --config 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' [INFO] [stdout] cand --config-dir 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' [INFO] [stdout] cand -v 'v' [INFO] [stdout] cand --verbose 'verbose' [INFO] [stdout] cand -q 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --quiet 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --debug 'Show detailed performance metrics' [INFO] [stdout] cand --profile 'Show resource usage (memory, CPU)' [INFO] [stdout] cand --no-color 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] cand -h 'Print help' [INFO] [stdout] cand --help 'Print help' [INFO] [stdout] } [INFO] [stdout] &'blz;diff'= { [INFO] [stdout] cand --since 'Show changes since timestamp' [INFO] [stdout] cand --config 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' [INFO] [stdout] cand --config-dir 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' [INFO] [stdout] cand -v 'v' [INFO] [stdout] cand --verbose 'verbose' [INFO] [stdout] cand -q 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --quiet 'Suppress informational messages (only show errors)' [INFO] [stdout] cand --debug 'Show detailed performance metrics' [INFO] [stdout] cand --profile 'Show resource usage (memory, CPU)' [INFO] [stdout] cand --no-color 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] cand -h 'Print help' [INFO] [stdout] cand --help 'Print help' [INFO] [stdout] } [INFO] [stdout] &'blz;help'= { [INFO] [stdout] cand instruct 'Print instructions for agent use of blz' [INFO] [stdout] cand completions 'Generate shell completions' [INFO] [stdout] cand alias 'Manage aliases for a source' [INFO] [stdout] cand docs 'Generate CLI docs from the clap definitions' [INFO] [stdout] cand add 'Add a new source' [INFO] [stdout] cand lookup 'Search registries for documentation to add' [INFO] [stdout] cand search 'Search across cached docs' [INFO] [stdout] cand get 'Get exact lines from a source' [INFO] [stdout] cand list 'List all cached sources' [INFO] [stdout] cand update 'Update sources' [INFO] [stdout] cand remove 'Remove/delete a source' [INFO] [stdout] cand diff 'View diffs (coming soon)' [INFO] [stdout] cand help 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] } [INFO] [stdout] &'blz;help;instruct'= { [INFO] [stdout] } [INFO] [stdout] &'blz;help;completions'= { [INFO] [stdout] } [INFO] [stdout] &'blz;help;alias'= { [INFO] [stdout] cand add 'Add an alias for a source' [INFO] [stdout] cand rm 'Remove an alias from a source' [INFO] [stdout] } [INFO] [stdout] &'blz;help;alias;add'= { [INFO] [stdout] } [INFO] [stdout] &'blz;help;alias;rm'= { [INFO] [stdout] } [INFO] [stdout] &'blz;help;docs'= { [INFO] [stdout] } [INFO] [stdout] &'blz;help;add'= { [INFO] [stdout] } [INFO] [stdout] &'blz;help;lookup'= { [INFO] [stdout] } [INFO] [stdout] &'blz;help;search'= { [INFO] [stdout] } [INFO] [stdout] &'blz;help;get'= { [INFO] [stdout] } [INFO] [stdout] &'blz;help;list'= { [INFO] [stdout] } [INFO] [stdout] &'blz;help;update'= { [INFO] [stdout] } [INFO] [stdout] &'blz;help;remove'= { [INFO] [stdout] } [INFO] [stdout] &'blz;help;diff'= { [INFO] [stdout] } [INFO] [stdout] &'blz;help;help'= { [INFO] [stdout] } [INFO] [stdout] ] [INFO] [stdout] $completions[$command] [INFO] [stdout] } [INFO] [stdout] test tests::test_completion_generation_for_all_shells ... ok [INFO] [stdout] #compdef blz [INFO] [stdout] [INFO] [stdout] autoload -U is-at-least [INFO] [stdout] [INFO] [stdout] _blz() { [INFO] [stdout] typeset -A opt_args [INFO] [stdout] typeset -a _arguments_options [INFO] [stdout] local ret=1 [INFO] [stdout] [INFO] [stdout] if is-at-least 5.2; then [INFO] [stdout] _arguments_options=(-s -S -C) [INFO] [stdout] else [INFO] [stdout] _arguments_options=(-s -C) [INFO] [stdout] fi [INFO] [stdout] [INFO] [stdout] local context curcontext="$curcontext" state line [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '-V[Print version]' \ [INFO] [stdout] '--version[Print version]' \ [INFO] [stdout] '::args -- Arguments for default search command:_default' \ [INFO] [stdout] ":: :_blz_commands" \ [INFO] [stdout] "*::: :->blz" \ [INFO] [stdout] && ret=0 [INFO] [stdout] case $state in [INFO] [stdout] (blz) [INFO] [stdout] words=($line[2] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-command-$line[2]:" [INFO] [stdout] case $line[2] in [INFO] [stdout] (instruct) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (completions) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-o+[Output format for listing]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format for listing]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--list[List supported shells instead of generating a script]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '::shell -- Shell to generate completions for:(bash elvish fish powershell zsh)' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (alias) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '::args -- Arguments for default search command:_default' \ [INFO] [stdout] ":: :_blz__alias_commands" \ [INFO] [stdout] "*::: :->alias" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (alias) [INFO] [stdout] words=($line[2] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-alias-command-$line[2]:" [INFO] [stdout] case $line[2] in [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':source -- Canonical source:_default' \ [INFO] [stdout] ':alias -- Alias to add (e.g., @scope/package):_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (rm) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':source -- Canonical source:_default' \ [INFO] [stdout] ':alias -- Alias to remove:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_blz__alias__help_commands" \ [INFO] [stdout] "*::: :->help" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (help) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-alias-help-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (rm) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] (docs) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--format=[Output format for docs Defaults to \`markdown\`]:FORMAT:(markdown json)' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-y[Auto-select the best flavor without prompts]' \ [INFO] [stdout] '--yes[Auto-select the best flavor without prompts]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':alias -- Alias for the source:_default' \ [INFO] [stdout] ':url -- URL to fetch llms.txt from:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (lookup) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] ':query -- Search query (tool name, partial name, etc.):_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (search) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-s+[Filter by alias (also accepts --source)]:ALIAS:_default' \ [INFO] [stdout] '--alias=[Filter by alias (also accepts --source)]:ALIAS:_default' \ [INFO] [stdout] '--source=[Filter by alias (also accepts --source)]:ALIAS:_default' \ [INFO] [stdout] '-n+[Maximum number of results]:LIMIT:_default' \ [INFO] [stdout] '--limit=[Maximum number of results]:LIMIT:_default' \ [INFO] [stdout] '--page=[Page number for pagination]:PAGE:_default' \ [INFO] [stdout] '--top=[Show only top N percentile of results (1-100)]:TOP:_default' \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--last[Jump to last page of results]' \ [INFO] [stdout] '--all[Show all results (no limit)]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] ':query -- Search query:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (get) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-l+[Line range(s) (e.g., "120-142", "36\:43,320\:350", "36+20")]:LINES:_default' \ [INFO] [stdout] '--lines=[Line range(s) (e.g., "120-142", "36\:43,320\:350", "36+20")]:LINES:_default' \ [INFO] [stdout] '-c+[Context lines around each line/range]:CONTEXT:_default' \ [INFO] [stdout] '--context=[Context lines around each line/range]:CONTEXT:_default' \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] ':alias -- Source alias:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (list) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--status[Include status/health information (etag, lastModified, checksum)]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (sources) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-o+[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--output=[Output format]:OUTPUT:((text\:"Pretty text output (default)" [INFO] [stdout] json\:"Single JSON array" [INFO] [stdout] ndjson\:"Newline-delimited JSON"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--status[Include status/health information (etag, lastModified, checksum)]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (update) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--flavor=[Choose update flavor policy]:FLAVOR:((current\:"Keep current URL/flavor" [INFO] [stdout] auto\:"Prefer best available flavor (llms-full.txt > llms.txt > others)" [INFO] [stdout] full\:"Force llms-full.txt if available" [INFO] [stdout] txt\:"Force llms.txt if available"))' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '--all[Update all sources]' \ [INFO] [stdout] '-y[Apply changes without prompting (e.g., auto-upgrade to llms-full)]' \ [INFO] [stdout] '--yes[Apply changes without prompting (e.g., auto-upgrade to llms-full)]' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '::alias -- Specific alias to update (updates all if not specified):_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (remove) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':alias -- Source alias:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (diff) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--since=[Show changes since timestamp]:SINCE:_default' \ [INFO] [stdout] '--config=[Path to configuration file (overrides autodiscovery). Also via \`BLZ_CONFIG\`]:FILE:_files' \ [INFO] [stdout] '--config-dir=[Directory containing config.toml (overrides autodiscovery). Also via \`BLZ_CONFIG_DIR\`]:DIR:_files' \ [INFO] [stdout] '-v[]' \ [INFO] [stdout] '--verbose[]' \ [INFO] [stdout] '-q[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--quiet[Suppress informational messages (only show errors)]' \ [INFO] [stdout] '--debug[Show detailed performance metrics]' \ [INFO] [stdout] '--profile[Show resource usage (memory, CPU)]' \ [INFO] [stdout] '--no-color[Disable all ANSI colors in output (also respects \`NO_COLOR\` env)]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':alias -- Source alias:_default' \ [INFO] [stdout] '*::args -- Arguments for default search command:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_blz__help_commands" \ [INFO] [stdout] "*::: :->help" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (help) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-help-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (instruct) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (completions) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (alias) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_blz__help__alias_commands" \ [INFO] [stdout] "*::: :->alias" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (alias) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:blz-help-alias-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (rm) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] (docs) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (add) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (lookup) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (search) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (get) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (list) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (update) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (remove) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (diff) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] (( $+functions[_blz_commands] )) || [INFO] [stdout] _blz_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'instruct:Print instructions for agent use of blz' \ [INFO] [stdout] 'completions:Generate shell completions' \ [INFO] [stdout] 'alias:Manage aliases for a source' \ [INFO] [stdout] 'docs:Generate CLI docs from the clap definitions' \ [INFO] [stdout] 'add:Add a new source' \ [INFO] [stdout] 'lookup:Search registries for documentation to add' \ [INFO] [stdout] 'search:Search across cached docs' \ [INFO] [stdout] 'get:Get exact lines from a source' \ [INFO] [stdout] 'list:List all cached sources' \ [INFO] [stdout] 'sources:List all cached sources' \ [INFO] [stdout] 'update:Update sources' \ [INFO] [stdout] 'remove:Remove/delete a source' \ [INFO] [stdout] 'diff:View diffs (coming soon)' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__add_commands] )) || [INFO] [stdout] _blz__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias_commands] )) || [INFO] [stdout] _blz__alias_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'add:Add an alias for a source' \ [INFO] [stdout] 'rm:Remove an alias from a source' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz alias commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__add_commands] )) || [INFO] [stdout] _blz__alias__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__help_commands] )) || [INFO] [stdout] _blz__alias__help_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'add:Add an alias for a source' \ [INFO] [stdout] 'rm:Remove an alias from a source' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz alias help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__help__add_commands] )) || [INFO] [stdout] _blz__alias__help__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias help add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__help__help_commands] )) || [INFO] [stdout] _blz__alias__help__help_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias help help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__help__rm_commands] )) || [INFO] [stdout] _blz__alias__help__rm_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias help rm commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__alias__rm_commands] )) || [INFO] [stdout] _blz__alias__rm_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz alias rm commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__completions_commands] )) || [INFO] [stdout] _blz__completions_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz completions commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__diff_commands] )) || [INFO] [stdout] _blz__diff_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz diff commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__docs_commands] )) || [INFO] [stdout] _blz__docs_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz docs commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__get_commands] )) || [INFO] [stdout] _blz__get_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz get commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help_commands] )) || [INFO] [stdout] _blz__help_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'instruct:Print instructions for agent use of blz' \ [INFO] [stdout] 'completions:Generate shell completions' \ [INFO] [stdout] 'alias:Manage aliases for a source' \ [INFO] [stdout] 'docs:Generate CLI docs from the clap definitions' \ [INFO] [stdout] 'add:Add a new source' \ [INFO] [stdout] 'lookup:Search registries for documentation to add' \ [INFO] [stdout] 'search:Search across cached docs' \ [INFO] [stdout] 'get:Get exact lines from a source' \ [INFO] [stdout] 'list:List all cached sources' \ [INFO] [stdout] 'update:Update sources' \ [INFO] [stdout] 'remove:Remove/delete a source' \ [INFO] [stdout] 'diff:View diffs (coming soon)' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__add_commands] )) || [INFO] [stdout] _blz__help__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__alias_commands] )) || [INFO] [stdout] _blz__help__alias_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'add:Add an alias for a source' \ [INFO] [stdout] 'rm:Remove an alias from a source' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'blz help alias commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__alias__add_commands] )) || [INFO] [stdout] _blz__help__alias__add_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help alias add commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__alias__rm_commands] )) || [INFO] [stdout] _blz__help__alias__rm_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help alias rm commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__completions_commands] )) || [INFO] [stdout] _blz__help__completions_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help completions commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__diff_commands] )) || [INFO] [stdout] _blz__help__diff_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help diff commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__docs_commands] )) || [INFO] [stdout] _blz__help__docs_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help docs commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__get_commands] )) || [INFO] [stdout] _blz__help__get_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help get commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__help_commands] )) || [INFO] [stdout] _blz__help__help_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__instruct_commands] )) || [INFO] [stdout] _blz__help__instruct_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help instruct commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__list_commands] )) || [INFO] [stdout] _blz__help__list_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help list commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__lookup_commands] )) || [INFO] [stdout] _blz__help__lookup_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help lookup commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__remove_commands] )) || [INFO] [stdout] _blz__help__remove_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help remove commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__search_commands] )) || [INFO] [stdout] _blz__help__search_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help search commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__help__update_commands] )) || [INFO] [stdout] _blz__help__update_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz help update commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__instruct_commands] )) || [INFO] [stdout] _blz__instruct_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz instruct commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__list_commands] )) || [INFO] [stdout] _blz__list_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz list commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__lookup_commands] )) || [INFO] [stdout] _blz__lookup_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz lookup commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__remove_commands] )) || [INFO] [stdout] _blz__remove_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz remove commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__search_commands] )) || [INFO] [stdout] _blz__search_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz search commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_blz__update_commands] )) || [INFO] [stdout] _blz__update_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'blz update commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] if [ "$funcstack[1]" = "_blz" ]; then [INFO] [stdout] _blz "$@" [INFO] [stdout] else [INFO] [stdout] compdef _blz blz [INFO] [stdout] fi [INFO] [stdout] # Print an optspec for argparse to handle cmd's options that are independent of any subcommand. [INFO] [stdout] function __fish_blz_global_optspecs [INFO] [stdout] string join \n v/verbose q/quiet debug profile no-color config= config-dir= h/help V/version [INFO] [stdout] end [INFO] [stdout] [INFO] [stdout] function __fish_blz_needs_command [INFO] [stdout] # Figure out if the current invocation already has a command. [INFO] [stdout] set -l cmd (commandline -opc) [INFO] [stdout] set -e cmd[1] [INFO] [stdout] argparse -s (__fish_blz_global_optspecs) -- $cmd 2>/dev/null [INFO] [stdout] or return [INFO] [stdout] if set -q argv[1] [INFO] [stdout] # Also print the command, so this can be used to figure out what it is. [INFO] [stdout] echo $argv[1] [INFO] [stdout] return 1 [INFO] [stdout] end [INFO] [stdout] return 0 [INFO] [stdout] end [INFO] [stdout] [INFO] [stdout] function __fish_blz_using_subcommand [INFO] [stdout] set -l cmd (__fish_blz_needs_command) [INFO] [stdout] test -z "$cmd" [INFO] [stdout] and return 1 [INFO] [stdout] contains -- $cmd[1] $argv [INFO] [stdout] end [INFO] [stdout] [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -s V -l version -d 'Print version' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "instruct" -d 'Print instructions for agent use of blz' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "completions" -d 'Generate shell completions' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "alias" -d 'Manage aliases for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "docs" -d 'Generate CLI docs from the clap definitions' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "add" -d 'Add a new source' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "lookup" -d 'Search registries for documentation to add' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "search" -d 'Search across cached docs' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "get" -d 'Get exact lines from a source' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "list" -d 'List all cached sources' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "sources" -d 'List all cached sources' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "update" -d 'Update sources' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "remove" -d 'Remove/delete a source' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "diff" -d 'View diffs (coming soon)' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -s o -l output -d 'Output format for listing' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l list -d 'List supported shells instead of generating a script' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -a "add" -d 'Add an alias for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -a "rm" -d 'Remove an alias from a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from help" -f -a "add" -d 'Add an alias for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from help" -f -a "rm" -d 'Remove an alias from a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l format -d 'Output format for docs Defaults to `markdown`' -r -f -a "markdown\t'' [INFO] [stdout] json\t''" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -s y -l yes -d 'Auto-select the best flavor without prompts' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s s -l alias -l source -d 'Filter by alias (also accepts --source)' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s n -l limit -d 'Maximum number of results' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l page -d 'Page number for pagination' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l top -d 'Show only top N percentile of results (1-100)' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l last -d 'Jump to last page of results' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l all -d 'Show all results (no limit)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s l -l lines -d 'Line range(s) (e.g., "120-142", "36:43,320:350", "36+20")' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s c -l context -d 'Context lines around each line/range' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l status -d 'Include status/health information (etag, lastModified, checksum)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l status -d 'Include status/health information (etag, lastModified, checksum)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l flavor -d 'Choose update flavor policy' -r -f -a "current\t'Keep current URL/flavor' [INFO] [stdout] auto\t'Prefer best available flavor (llms-full.txt > llms.txt > others)' [INFO] [stdout] full\t'Force llms-full.txt if available' [INFO] [stdout] txt\t'Force llms.txt if available'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l all -d 'Update all sources' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -s y -l yes -d 'Apply changes without prompting (e.g., auto-upgrade to llms-full)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l since -d 'Show changes since timestamp' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "instruct" -d 'Print instructions for agent use of blz' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "completions" -d 'Generate shell completions' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "alias" -d 'Manage aliases for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "docs" -d 'Generate CLI docs from the clap definitions' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "add" -d 'Add a new source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "lookup" -d 'Search registries for documentation to add' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "search" -d 'Search across cached docs' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "get" -d 'Get exact lines from a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "list" -d 'List all cached sources' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "update" -d 'Update sources' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "remove" -d 'Remove/delete a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "diff" -d 'View diffs (coming soon)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and __fish_seen_subcommand_from alias" -f -a "add" -d 'Add an alias for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and __fish_seen_subcommand_from alias" -f -a "rm" -d 'Remove an alias from a source' [INFO] [stdout] # Print an optspec for argparse to handle cmd's options that are independent of any subcommand. [INFO] [stdout] function __fish_blz_global_optspecs [INFO] [stdout] string join \n v/verbose q/quiet debug profile no-color config= config-dir= h/help V/version [INFO] [stdout] end [INFO] [stdout] [INFO] [stdout] function __fish_blz_needs_command [INFO] [stdout] # Figure out if the current invocation already has a command. [INFO] [stdout] set -l cmd (commandline -opc) [INFO] [stdout] set -e cmd[1] [INFO] [stdout] argparse -s (__fish_blz_global_optspecs) -- $cmd 2>/dev/null [INFO] [stdout] or return [INFO] [stdout] if set -q argv[1] [INFO] [stdout] # Also print the command, so this can be used to figure out what it is. [INFO] [stdout] echo $argv[1] [INFO] [stdout] return 1 [INFO] [stdout] end [INFO] [stdout] return 0 [INFO] [stdout] end [INFO] [stdout] [INFO] [stdout] function __fish_blz_using_subcommand [INFO] [stdout] set -l cmd (__fish_blz_needs_command) [INFO] [stdout] test -z "$cmd" [INFO] [stdout] and return 1 [INFO] [stdout] contains -- $cmd[1] $argv [INFO] [stdout] end [INFO] [stdout] [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -s V -l version -d 'Print version' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "instruct" -d 'Print instructions for agent use of blz' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "completions" -d 'Generate shell completions' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "alias" -d 'Manage aliases for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "docs" -d 'Generate CLI docs from the clap definitions' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "add" -d 'Add a new source' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "lookup" -d 'Search registries for documentation to add' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "search" -d 'Search across cached docs' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "get" -d 'Get exact lines from a source' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "list" -d 'List all cached sources' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "sources" -d 'List all cached sources' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "update" -d 'Update sources' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "remove" -d 'Remove/delete a source' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "diff" -d 'View diffs (coming soon)' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -s o -l output -d 'Output format for listing' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l list -d 'List supported shells instead of generating a script' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -a "add" -d 'Add an alias for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -a "rm" -d 'Remove an alias from a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -s h -l help -d 'Print help' [INFO] [stderr] Running tests/alias_add_rm.rs (/opt/rustwide/target/debug/deps/alias_add_rm-f0a413efd6d1a5fe) [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from help" -f -a "add" -d 'Add an alias for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from help" -f -a "rm" -d 'Remove an alias from a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l format -d 'Output format for docs Defaults to `markdown`' -r -f -a "markdown\t'' [INFO] [stdout] json\t''" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -s y -l yes -d 'Auto-select the best flavor without prompts' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s s -l alias -l source -d 'Filter by alias (also accepts --source)' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s n -l limit -d 'Maximum number of results' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l page -d 'Page number for pagination' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l top -d 'Show only top N percentile of results (1-100)' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l last -d 'Jump to last page of results' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l all -d 'Show all results (no limit)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s l -l lines -d 'Line range(s) (e.g., "120-142", "36:43,320:350", "36+20")' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s c -l context -d 'Context lines around each line/range' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l status -d 'Include status/health information (etag, lastModified, checksum)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l status -d 'Include status/health information (etag, lastModified, checksum)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l flavor -d 'Choose update flavor policy' -r -f -a "current\t'Keep current URL/flavor' [INFO] [stdout] auto\t'Prefer best available flavor (llms-full.txt > llms.txt > others)' [INFO] [stdout] full\t'Force llms-full.txt if available' [INFO] [stdout] txt\t'Force llms.txt if available'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l all -d 'Update all sources' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -s y -l yes -d 'Apply changes without prompting (e.g., auto-upgrade to llms-full)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l since -d 'Show changes since timestamp' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "instruct" -d 'Print instructions for agent use of blz' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "completions" -d 'Generate shell completions' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "alias" -d 'Manage aliases for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "docs" -d 'Generate CLI docs from the clap definitions' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "add" -d 'Add a new source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "lookup" -d 'Search registries for documentation to add' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "search" -d 'Search across cached docs' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "get" -d 'Get exact lines from a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "list" -d 'List all cached sources' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "update" -d 'Update sources' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "remove" -d 'Remove/delete a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "diff" -d 'View diffs (coming soon)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and __fish_seen_subcommand_from alias" -f -a "add" -d 'Add an alias for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and __fish_seen_subcommand_from alias" -f -a "rm" -d 'Remove an alias from a source' [INFO] [stdout] # Print an optspec for argparse to handle cmd's options that are independent of any subcommand. [INFO] [stdout] function __fish_blz_global_optspecs [INFO] [stdout] string join \n v/verbose q/quiet debug profile no-color config= config-dir= h/help V/version [INFO] [stdout] end [INFO] [stdout] [INFO] [stdout] function __fish_blz_needs_command [INFO] [stdout] # Figure out if the current invocation already has a command. [INFO] [stdout] set -l cmd (commandline -opc) [INFO] [stdout] set -e cmd[1] [INFO] [stdout] argparse -s (__fish_blz_global_optspecs) -- $cmd 2>/dev/null [INFO] [stdout] or return [INFO] [stdout] if set -q argv[1] [INFO] [stdout] # Also print the command, so this can be used to figure out what it is. [INFO] [stdout] echo $argv[1] [INFO] [stdout] return 1 [INFO] [stdout] end [INFO] [stdout] return 0 [INFO] [stdout] end [INFO] [stdout] [INFO] [stdout] function __fish_blz_using_subcommand [INFO] [stdout] set -l cmd (__fish_blz_needs_command) [INFO] [stdout] test -z "$cmd" [INFO] [stdout] and return 1 [INFO] [stdout] contains -- $cmd[1] $argv [INFO] [stdout] end [INFO] [stdout] [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -s V -l version -d 'Print version' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "instruct" -d 'Print instructions for agent use of blz' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "completions" -d 'Generate shell completions' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "alias" -d 'Manage aliases for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "docs" -d 'Generate CLI docs from the clap definitions' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "add" -d 'Add a new source' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "lookup" -d 'Search registries for documentation to add' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "search" -d 'Search across cached docs' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "get" -d 'Get exact lines from a source' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "list" -d 'List all cached sources' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "sources" -d 'List all cached sources' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "update" -d 'Update sources' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "remove" -d 'Remove/delete a source' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "diff" -d 'View diffs (coming soon)' [INFO] [stdout] complete -c blz -n "__fish_blz_needs_command" -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand instruct" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -s o -l output -d 'Output format for listing' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l list -d 'List supported shells instead of generating a script' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand completions" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -a "add" -d 'Add an alias for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -a "rm" -d 'Remove an alias from a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and not __fish_seen_subcommand_from add rm help" -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from add" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from rm" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from help" -f -a "add" -d 'Add an alias for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from help" -f -a "rm" -d 'Remove an alias from a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand alias; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l format -d 'Output format for docs Defaults to `markdown`' -r -f -a "markdown\t'' [INFO] [stdout] json\t''" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand docs" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -s y -l yes -d 'Auto-select the best flavor without prompts' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand add" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand lookup" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s s -l alias -l source -d 'Filter by alias (also accepts --source)' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s n -l limit -d 'Maximum number of results' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l page -d 'Page number for pagination' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l top -d 'Show only top N percentile of results (1-100)' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l last -d 'Jump to last page of results' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l all -d 'Show all results (no limit)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand search" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s l -l lines -d 'Line range(s) (e.g., "120-142", "36:43,320:350", "36+20")' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s c -l context -d 'Context lines around each line/range' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand get" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l status -d 'Include status/health information (etag, lastModified, checksum)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand list" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -s o -l output -d 'Output format' -r -f -a "text\t'Pretty text output (default)' [INFO] [stdout] json\t'Single JSON array' [INFO] [stdout] ndjson\t'Newline-delimited JSON'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l status -d 'Include status/health information (etag, lastModified, checksum)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand sources" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l flavor -d 'Choose update flavor policy' -r -f -a "current\t'Keep current URL/flavor' [INFO] [stdout] auto\t'Prefer best available flavor (llms-full.txt > llms.txt > others)' [INFO] [stdout] full\t'Force llms-full.txt if available' [INFO] [stdout] txt\t'Force llms.txt if available'" [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l all -d 'Update all sources' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -s y -l yes -d 'Apply changes without prompting (e.g., auto-upgrade to llms-full)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand update" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand remove" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l since -d 'Show changes since timestamp' -r [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l config -d 'Path to configuration file (overrides autodiscovery). Also via `BLZ_CONFIG`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l config-dir -d 'Directory containing config.toml (overrides autodiscovery). Also via `BLZ_CONFIG_DIR`' -r -F [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -s v -l verbose [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -s q -l quiet -d 'Suppress informational messages (only show errors)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l debug -d 'Show detailed performance metrics' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l profile -d 'Show resource usage (memory, CPU)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -l no-color -d 'Disable all ANSI colors in output (also respects `NO_COLOR` env)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand diff" -s h -l help -d 'Print help' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "instruct" -d 'Print instructions for agent use of blz' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "completions" -d 'Generate shell completions' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "alias" -d 'Manage aliases for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "docs" -d 'Generate CLI docs from the clap definitions' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "add" -d 'Add a new source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "lookup" -d 'Search registries for documentation to add' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "search" -d 'Search across cached docs' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "get" -d 'Get exact lines from a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "list" -d 'List all cached sources' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "update" -d 'Update sources' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "remove" -d 'Remove/delete a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "diff" -d 'View diffs (coming soon)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and not __fish_seen_subcommand_from instruct completions alias docs add lookup search get list update remove diff help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and __fish_seen_subcommand_from alias" -f -a "add" -d 'Add an alias for a source' [INFO] [stdout] complete -c blz -n "__fish_blz_using_subcommand help; and __fish_seen_subcommand_from alias" -f -a "rm" -d 'Remove an alias from a source' [INFO] [stdout] test tests::test_completion_generation_consistency ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 50 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test alias_add_and_remove_updates_list_json ... ok [INFO] [stderr] Running tests/alias_resolver_update_remove.rs (/opt/rustwide/target/debug/deps/alias_resolver_update_remove-4c33cc63c84a991b) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.86s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/anchor_get.rs (/opt/rustwide/target/debug/deps/anchor_get-eef8bb287d104876) [INFO] [stdout] test update_and_remove_accept_metadata_alias ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s [INFO] [stdout] [INFO] [stderr] Running tests/anchors_e2e.rs (/opt/rustwide/target/debug/deps/anchors_e2e-57af1b5bd4db568c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/instruct_smoke.rs (/opt/rustwide/target/debug/deps/instruct_smoke-5548ac330e2a765e) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test instruct_prints_curated_text_and_cli_docs ... ok [INFO] [stderr] Running tests/list_status_json.rs (/opt/rustwide/target/debug/deps/list_status_json-8fc5d8c533136239) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test list_status_json_includes_source_and_keys ... ok [INFO] [stderr] Running tests/preflight_more.rs (/opt/rustwide/target/debug/deps/preflight_more-c8613429e1a6c9da) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.47s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test update_preflight_no_content_length_still_proceeds ... ok [INFO] [stdout] test update_preflight_fails_on_500 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.25s [INFO] [stdout] [INFO] [stderr] Running tests/preflight_negative.rs (/opt/rustwide/target/debug/deps/preflight_negative-f9b201b719a16a39) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test update_preflight_fails_on_non_2xx_head ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.67s [INFO] [stdout] [INFO] [stderr] Running tests/search_json.rs (/opt/rustwide/target/debug/deps/search_json-4c0c7e235ed74970) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/search_pagination.rs (/opt/rustwide/target/debug/deps/search_pagination-00f2b2fca3b3e0a5) [INFO] [stdout] test search_json_schema_contains_expected_fields ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test_empty_results_pagination ... ok [INFO] [stdout] test test_minimum_limit_value ... ok [INFO] [stdout] test test_single_result_pagination ... ok [INFO] [stdout] test test_zero_limit_does_not_panic ... ok [INFO] [stdout] test test_large_limit_with_small_results ... ok [INFO] [stdout] test test_page_boundary_with_exact_division ... ok [INFO] [stdout] test test_pagination_prevents_panic_on_edge_cases ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.69s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "91e3117f9e1e8f7a457a0176fb4bfcd9845d26c32ecc007ca2f3bd2a0c9855d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91e3117f9e1e8f7a457a0176fb4bfcd9845d26c32ecc007ca2f3bd2a0c9855d8", kill_on_drop: false }` [INFO] [stdout] 91e3117f9e1e8f7a457a0176fb4bfcd9845d26c32ecc007ca2f3bd2a0c9855d8