[INFO] fetching crate gist-cache-rs 0.8.7... [INFO] testing gist-cache-rs-0.8.7 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681 [INFO] extracting crate gist-cache-rs 0.8.7 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate gist-cache-rs 0.8.7 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate gist-cache-rs 0.8.7 [INFO] tweaked toml for crates.io crate gist-cache-rs 0.8.7 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gist-cache-rs 0.8.7 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gist-cache-rs 0.8.7 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_spanned v1.0.4 [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded term_size v0.3.2 [INFO] [stderr] Downloaded tokei v13.0.0 [INFO] [stderr] Downloaded humansize v2.1.3 [INFO] [stderr] Downloaded shell-words v1.1.1 [INFO] [stderr] Downloaded unit-prefix v0.5.2 [INFO] [stderr] Downloaded terminal_size v0.4.3 [INFO] [stderr] Downloaded libredox v0.1.11 [INFO] [stderr] Downloaded derive_arbitrary v1.4.2 [INFO] [stderr] Downloaded json5 v0.4.1 [INFO] [stderr] Downloaded redox_users v0.5.2 [INFO] [stderr] Downloaded assert_cmd v2.1.1 [INFO] [stderr] Downloaded dialoguer v0.12.0 [INFO] [stderr] Downloaded clap_complete v4.5.61 [INFO] [stderr] Downloaded indicatif v0.18.3 [INFO] [stderr] Downloaded tera v1.20.1 [INFO] [stderr] Downloaded cc v1.2.49 [INFO] [stderr] Downloaded ignore v0.4.25 [INFO] [stderr] Downloaded pest v2.8.4 [INFO] [stderr] Downloaded mockall_derive v0.14.0 [INFO] [stderr] Downloaded deunicode v1.6.2 [INFO] [stderr] Downloaded grep-searcher v0.1.16 [INFO] [stderr] Downloaded num-format v0.4.4 [INFO] [stderr] Downloaded colored v2.2.0 [INFO] [stderr] Downloaded pest_meta v2.8.4 [INFO] [stderr] Downloaded pest_generator v2.8.4 [INFO] [stderr] Downloaded pest_derive v2.8.4 [INFO] [stderr] Downloaded toml v0.9.9+spec-1.0.0 [INFO] [stderr] Downloaded encoding_rs_io v0.1.7 [INFO] [stderr] Downloaded mockall v0.14.0 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] [stderr] Downloaded predicates v3.1.3 [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded toml_parser v1.0.5+spec-1.0.0 [INFO] [stderr] Downloaded toml_datetime v0.7.4+spec-1.0.0 [INFO] [stderr] Downloaded table_formatter v0.6.1 [INFO] [stderr] Downloaded clap-cargo v0.13.0 [INFO] [stderr] Downloaded grep-matcher v0.1.8 [INFO] [stderr] Downloaded toml_writer v1.0.5+spec-1.0.0 [INFO] [stderr] Downloaded float-cmp v0.10.0 [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87c0f05e317e427b6a8ffbfadc71061114ff4554da101c1a0f450860620b4634 [INFO] running `Command { std: "docker" "start" "-a" "87c0f05e317e427b6a8ffbfadc71061114ff4554da101c1a0f450860620b4634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87c0f05e317e427b6a8ffbfadc71061114ff4554da101c1a0f450860620b4634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87c0f05e317e427b6a8ffbfadc71061114ff4554da101c1a0f450860620b4634", kill_on_drop: false }` [INFO] [stdout] 87c0f05e317e427b6a8ffbfadc71061114ff4554da101c1a0f450860620b4634 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 758693b2fa5dcde32cef46fb1460eb07de94e89596ed79751d638c91b8e31337 [INFO] running `Command { std: "docker" "start" "-a" "758693b2fa5dcde32cef46fb1460eb07de94e89596ed79751d638c91b8e31337", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling pest v2.8.4 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling pest_meta v2.8.4 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling console v0.16.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling grep-matcher v0.1.8 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling jiff v0.2.16 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling etcetera v0.8.0 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling toml_parser v1.0.5+spec-1.0.0 [INFO] [stderr] Compiling grep-searcher v0.1.16 [INFO] [stderr] Compiling toml_datetime v0.7.4+spec-1.0.0 [INFO] [stderr] Compiling pest_generator v2.8.4 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling toml_writer v1.0.5+spec-1.0.0 [INFO] [stderr] Compiling shell-words v1.1.1 [INFO] [stderr] Compiling unit-prefix v0.5.2 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling indicatif v0.18.3 [INFO] [stderr] Compiling dialoguer v0.12.0 [INFO] [stderr] Compiling toml v0.9.9+spec-1.0.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling pest_derive v2.8.4 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_arbitrary v1.4.2 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling arbitrary v1.4.2 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling table_formatter v0.6.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling clap-cargo v0.13.0 [INFO] [stderr] Compiling clap_complete v4.5.61 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tera v1.20.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokei v13.0.0 [INFO] [stderr] Compiling gist-cache-rs v0.8.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.66s [INFO] running `Command { std: "docker" "inspect" "758693b2fa5dcde32cef46fb1460eb07de94e89596ed79751d638c91b8e31337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "758693b2fa5dcde32cef46fb1460eb07de94e89596ed79751d638c91b8e31337", kill_on_drop: false }` [INFO] [stdout] 758693b2fa5dcde32cef46fb1460eb07de94e89596ed79751d638c91b8e31337 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e092104b10746c380dcf4ff81cbfb59664da682146a26e4f18c30044f4b0733 [INFO] running `Command { std: "docker" "start" "-a" "9e092104b10746c380dcf4ff81cbfb59664da682146a26e4f18c30044f4b0733", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling mockall_derive v0.14.0 [INFO] [stderr] Compiling assert_cmd v2.1.1 [INFO] [stderr] Compiling sdd v3.0.10 [INFO] [stderr] Compiling mockall v0.14.0 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling scc v2.4.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling grep-searcher v0.1.16 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling tera v1.20.1 [INFO] [stderr] Compiling tokei v13.0.0 [INFO] [stderr] Compiling gist-cache-rs v0.8.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 35.65s [INFO] running `Command { std: "docker" "inspect" "9e092104b10746c380dcf4ff81cbfb59664da682146a26e4f18c30044f4b0733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e092104b10746c380dcf4ff81cbfb59664da682146a26e4f18c30044f4b0733", kill_on_drop: false }` [INFO] [stdout] 9e092104b10746c380dcf4ff81cbfb59664da682146a26e4f18c30044f4b0733 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e672bb7568eae886e21408dbaf5074953f67a7c5895743783e6a0270b33fa814 [INFO] running `Command { std: "docker" "start" "-a" "e672bb7568eae886e21408dbaf5074953f67a7c5895743783e6a0270b33fa814", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gist_cache_rs-285d2a00c1df51f9) [INFO] [stdout] [INFO] [stdout] running 148 tests [INFO] [stdout] test cache::content::tests::test_cache_path_generation ... ok [INFO] [stdout] test cache::content::tests::test_clean_when_nothing_matches ... ok [INFO] [stdout] test cache::content::tests::test_read_nonexistent_file ... ok [INFO] [stdout] test cache::content::tests::test_calculate_dir_size ... ok [INFO] [stdout] test cache::content::tests::test_clean_with_dry_run ... ok [INFO] [stdout] test cache::content::tests::test_clean_with_both_criteria ... ok [INFO] [stdout] test cache::content::tests::test_clean_with_no_criteria ... ok [INFO] [stdout] test cache::content::tests::test_total_size_when_no_cache_dir ... ok [INFO] [stdout] test cache::content::tests::test_clean_with_older_than ... ok [INFO] [stdout] test cache::content::tests::test_self_healing_unexpected_files ... ok [INFO] [stdout] test cache::types::tests::test_gist_cache_serialization ... ok [INFO] [stdout] test cache::content::tests::test_overwrite_existing_file ... ok [INFO] [stdout] test cache::types::tests::test_datetime_deserialization ... ok [INFO] [stdout] test cache::types::tests::test_datetime_serialization ... ok [INFO] [stdout] test cache::content::tests::test_clean_with_orphaned ... ok [INFO] [stdout] test cache::types::tests::test_gist_file_clone ... ok [INFO] [stdout] test cache::content::tests::test_delete_gist ... ok [INFO] [stdout] test cache::content::tests::test_delete_gist_already_deleted ... ok [INFO] [stdout] test cache::content::tests::test_list_cached_gists_with_file_in_contents_dir ... ok [INFO] [stdout] test cache::content::tests::test_multiple_files_in_same_gist ... ok [INFO] [stdout] test cache::types::tests::test_gist_info_without_description ... ok [INFO] [stdout] test cache::content::tests::test_total_size ... ok [INFO] [stdout] test cache::content::tests::test_write_creates_gist_directory ... ok [INFO] [stdout] test cache::content::tests::test_clear_all ... ok [INFO] [stdout] test cache::types::tests::test_github_gist_to_gist_info ... ok [INFO] [stdout] test cache::content::tests::test_write_and_read ... ok [INFO] [stdout] test cache::update::tests::test_cache_metadata ... ok [INFO] [stdout] test cache::update::tests::test_load_cache_missing_file ... ok [INFO] [stdout] test cache::update::tests::test_update_force_verbose_without_existing_cache ... ok [INFO] [stdout] test cache::update::tests::test_update_differential_with_existing_cache_verbose ... ok [INFO] [stdout] test cache::update::tests::test_cache_updater_with_verbose ... ok [INFO] [stdout] test cache::update::tests::test_save_cache_invalid_json ... ok [INFO] [stdout] test cache::update::tests::test_update_auth_failure ... ok [INFO] [stdout] test cache::content::tests::test_list_cached_gists ... ok [INFO] [stdout] test cache::update::tests::test_save_and_load_cache ... ok [INFO] [stdout] test cache::update::tests::test_update_differential_with_mock ... ok [INFO] [stdout] test cache::update::tests::test_updater_new ... ok [INFO] [stdout] test cache::update::tests::test_update_verbose_mode ... ok [INFO] [stdout] test cache::update::tests::test_update_force_with_mock ... ok [INFO] [stdout] test cache::update::tests::test_update_with_low_rate_limit_verbose ... ok [INFO] [stdout] test cache::update::tests::test_update_gist_modification_verbose ... ok [INFO] [stdout] test cli::tests::test_detect_shebang_direct_path ... ok [INFO] [stdout] test cli::tests::test_detect_shebang_env_format ... ok [INFO] [stdout] test cli::tests::test_detect_shebang_no_shebang ... ok [INFO] [stdout] test cli::tests::test_format_bytes ... ok [INFO] [stdout] test cli::tests::test_format_bytes_edge_cases ... ok [INFO] [stdout] test cli::tests::test_detect_interpreter_from_filename ... ok [INFO] [stdout] test cli::tests::test_detect_interpreter_from_config ... ok [INFO] [stdout] test cli::tests::test_format_bytes_multiple_gb ... ok [INFO] [stdout] test cache::update::tests::test_update_with_no_changes ... ok [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 'gist-cache-rs' -ScriptBlock { [INFO] [stdout] param($wordToComplete, $commandAst, $cursorPosition) [INFO] [stdout] [INFO] [stdout] $commandElements = $commandAst.CommandElements [INFO] [stdout] $command = @( [INFO] [stdout] 'gist-cache-rs' [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] 'gist-cache-rs' { [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('update', 'update', [CompletionResultType]::ParameterValue, 'Update cache') [INFO] [stdout] [CompletionResult]::new('run', 'run', [CompletionResultType]::ParameterValue, 'Search from cache and execute') [INFO] [stdout] [CompletionResult]::new('cache', 'cache', [CompletionResultType]::ParameterValue, 'Cache management') [INFO] [stdout] [CompletionResult]::new('config', 'config', [CompletionResultType]::ParameterValue, 'Configuration management') [INFO] [stdout] [CompletionResult]::new('completions', 'completions', [CompletionResultType]::ParameterValue, 'Generate shell completion scripts') [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] 'gist-cache-rs;update' { [INFO] [stdout] [CompletionResult]::new('-f', '-f', [CompletionResultType]::ParameterName, 'Force full update') [INFO] [stdout] [CompletionResult]::new('--force', '--force', [CompletionResultType]::ParameterName, 'Force full update') [INFO] [stdout] [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'Display detailed progress information') [INFO] [stdout] [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'Display detailed progress information') [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] 'gist-cache-rs;run' { [INFO] [stdout] [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Interactive script execution mode') [INFO] [stdout] [CompletionResult]::new('--interactive', '--interactive', [CompletionResultType]::ParameterName, 'Interactive script execution mode') [INFO] [stdout] [CompletionResult]::new('-p', '-p', [CompletionResultType]::ParameterName, 'Preview mode (display content only)') [INFO] [stdout] [CompletionResult]::new('--preview', '--preview', [CompletionResultType]::ParameterName, 'Preview mode (display content only)') [INFO] [stdout] [CompletionResult]::new('-f', '-f', [CompletionResultType]::ParameterName, 'Update Gist cache before execution') [INFO] [stdout] [CompletionResult]::new('--force', '--force', [CompletionResultType]::ParameterName, 'Update Gist cache before execution') [INFO] [stdout] [CompletionResult]::new('--download', '--download', [CompletionResultType]::ParameterName, 'Save file to download folder') [INFO] [stdout] [CompletionResult]::new('--id', '--id', [CompletionResultType]::ParameterName, 'Direct ID specification mode') [INFO] [stdout] [CompletionResult]::new('--filename', '--filename', [CompletionResultType]::ParameterName, 'Search by filename') [INFO] [stdout] [CompletionResult]::new('--description', '--description', [CompletionResultType]::ParameterName, 'Search by description') [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] 'gist-cache-rs;cache' { [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] [CompletionResult]::new('list', 'list', [CompletionResultType]::ParameterValue, 'Display list of cached Gists') [INFO] [stdout] [CompletionResult]::new('size', 'size', [CompletionResultType]::ParameterValue, 'Display total cache size') [INFO] [stdout] [CompletionResult]::new('clean', 'clean', [CompletionResultType]::ParameterValue, 'Remove old cache entries') [INFO] [stdout] [CompletionResult]::new('clear', 'clear', [CompletionResultType]::ParameterValue, 'Remove all cache') [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] 'gist-cache-rs;cache;list' { [INFO] [stdout] [CompletionResult]::new('--format', '--format', [CompletionResultType]::ParameterName, 'Output format') [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] 'gist-cache-rs;cache;size' { [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] 'gist-cache-rs;cache;clean' { [INFO] [stdout] [CompletionResult]::new('--older-than', '--older-than', [CompletionResultType]::ParameterName, 'Remove entries older than specified days') [INFO] [stdout] [CompletionResult]::new('--orphaned', '--orphaned', [CompletionResultType]::ParameterName, 'Remove orphaned content cache files (content without metadata)') [INFO] [stdout] [CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Preview what would be deleted without actually deleting') [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] 'gist-cache-rs;cache;clear' { [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] 'gist-cache-rs;cache;help' { [INFO] [stdout] [CompletionResult]::new('list', 'list', [CompletionResultType]::ParameterValue, 'Display list of cached Gists') [INFO] [stdout] [CompletionResult]::new('size', 'size', [CompletionResultType]::ParameterValue, 'Display total cache size') [INFO] [stdout] [CompletionResult]::new('clean', 'clean', [CompletionResultType]::ParameterValue, 'Remove old cache entries') [INFO] [stdout] [CompletionResult]::new('clear', 'clear', [CompletionResultType]::ParameterValue, 'Remove all cache') [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] 'gist-cache-rs;cache;help;list' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;cache;help;size' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;cache;help;clean' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;cache;help;clear' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;cache;help;help' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;config' { [INFO] [stdout] [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help') [INFO] [stdout] [CompletionResult]::new('set', 'set', [CompletionResultType]::ParameterValue, 'Set a configuration value') [INFO] [stdout] [CompletionResult]::new('get', 'get', [CompletionResultType]::ParameterValue, 'Get a configuration value') [INFO] [stdout] [CompletionResult]::new('show', 'show', [CompletionResultType]::ParameterValue, 'Show all configuration values') [INFO] [stdout] [CompletionResult]::new('setting', 'setting', [CompletionResultType]::ParameterValue, 'Interactive configuration setting') [INFO] [stdout] [CompletionResult]::new('edit', 'edit', [CompletionResultType]::ParameterValue, 'Edit configuration file in $EDITOR') [INFO] [stdout] [CompletionResult]::new('reset', 'reset', [CompletionResultType]::ParameterValue, 'Reset configuration to defaults') [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] 'gist-cache-rs;config;set' { [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] 'gist-cache-rs;config;get' { [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] 'gist-cache-rs;config;show' { [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] 'gist-cache-rs;config;setting' { [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] 'gist-cache-rs;config;edit' { [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] 'gist-cache-rs;config;reset' { [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] 'gist-cache-rs;config;help' { [INFO] [stdout] [CompletionResult]::new('set', 'set', [CompletionResultType]::ParameterValue, 'Set a configuration value') [INFO] [stdout] [CompletionResult]::new('get', 'get', [CompletionResultType]::ParameterValue, 'Get a configuration value') [INFO] [stdout] [CompletionResult]::new('show', 'show', [CompletionResultType]::ParameterValue, 'Show all configuration values') [INFO] [stdout] [CompletionResult]::new('setting', 'setting', [CompletionResultType]::ParameterValue, 'Interactive configuration setting') [INFO] [stdout] [CompletionResult]::new('edit', 'edit', [CompletionResultType]::ParameterValue, 'Edit configuration file in $EDITOR') [INFO] [stdout] [CompletionResult]::new('reset', 'reset', [CompletionResultType]::ParameterValue, 'Reset configuration to defaults') [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] 'gist-cache-rs;config;help;set' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;config;help;get' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;config;help;show' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;config;help;setting' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;config;help;edit' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;config;help;reset' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;config;help;help' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;completions' { [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] 'gist-cache-rs;help' { [INFO] [stdout] [CompletionResult]::new('update', 'update', [CompletionResultType]::ParameterValue, 'Update cache') [INFO] [stdout] [CompletionResult]::new('run', 'run', [CompletionResultType]::ParameterValue, 'Search from cache and execute') [INFO] [stdout] [CompletionResult]::new('cache', 'cache', [CompletionResultType]::ParameterValue, 'Cache management') [INFO] [stdout] [CompletionResult]::new('config', 'config', [CompletionResultType]::ParameterValue, 'Configuration management') [INFO] [stdout] [CompletionResult]::new('completions', 'completions', [CompletionResultType]::ParameterValue, 'Generate shell completion scripts') [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] 'gist-cache-rs;help;update' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;help;run' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;help;cache' { [INFO] [stdout] [CompletionResult]::new('list', 'list', [CompletionResultType]::ParameterValue, 'Display list of cached Gists') [INFO] [stdout] [CompletionResult]::new('size', 'size', [CompletionResultType]::ParameterValue, 'Display total cache size') [INFO] [stdout] [CompletionResult]::new('clean', 'clean', [CompletionResultType]::ParameterValue, 'Remove old cache entries') [INFO] [stdout] [CompletionResult]::new('clear', 'clear', [CompletionResultType]::ParameterValue, 'Remove all cache') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;help;cache;list' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;help;cache;size' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;help;cache;clean' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;help;cache;clear' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;help;config' { [INFO] [stdout] [CompletionResult]::new('set', 'set', [CompletionResultType]::ParameterValue, 'Set a configuration value') [INFO] [stdout] [CompletionResult]::new('get', 'get', [CompletionResultType]::ParameterValue, 'Get a configuration value') [INFO] [stdout] [CompletionResult]::new('show', 'show', [CompletionResultType]::ParameterValue, 'Show all configuration values') [INFO] [stdout] [CompletionResult]::new('setting', 'setting', [CompletionResultType]::ParameterValue, 'Interactive configuration setting') [INFO] [stdout] [CompletionResult]::new('edit', 'edit', [CompletionResultType]::ParameterValue, 'Edit configuration file in $EDITOR') [INFO] [stdout] [CompletionResult]::new('reset', 'reset', [CompletionResultType]::ParameterValue, 'Reset configuration to defaults') [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;help;config;set' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;help;config;get' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;help;config;show' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;help;config;setting' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;help;config;edit' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;help;config;reset' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;help;completions' { [INFO] [stdout] break [INFO] [stdout] } [INFO] [stdout] 'gist-cache-rs;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] test cache::update::tests::test_update_with_gist_modification_deletes_cache ... ok [INFO] [stdout] test cli::tests::test_get_file_extension ... ok [INFO] [stdout] test cli::tests::test_handle_cache_command_clean_no_cache ... ok [INFO] [stdout] test cli::tests::test_handle_cache_command_list_empty ... ok [INFO] [stdout] test cli::tests::test_handle_cache_command_list_no_metadata ... ok [INFO] [stdout] test cli::tests::test_handle_cache_command_size ... ok [INFO] [stdout] test cli::tests::test_handle_cache_command_clean_no_criteria ... ok [INFO] [stdout] test cli::tests::test_generate_completions_powershell ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_bash ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_bun ... ok [INFO] [stdout] # Print an optspec for argparse to handle cmd's options that are independent of any subcommand. [INFO] [stdout] function __fish_gist_cache_rs_global_optspecs [INFO] [stdout] string join \n h/help V/version [INFO] [stdout] end [INFO] [stdout] [INFO] [stdout] function __fish_gist_cache_rs_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_gist_cache_rs_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_gist_cache_rs_using_subcommand [INFO] [stdout] set -l cmd (__fish_gist_cache_rs_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 gist-cache-rs -n "__fish_gist_cache_rs_needs_command" -s h -l help -d 'Print help' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_needs_command" -s V -l version -d 'Print version' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_needs_command" -f -a "update" -d 'Update cache' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_needs_command" -f -a "run" -d 'Search from cache and execute' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_needs_command" -f -a "cache" -d 'Cache management' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_needs_command" -f -a "config" -d 'Configuration management' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_needs_command" -f -a "completions" -d 'Generate shell completion scripts' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_needs_command" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand update" -s f -l force -d 'Force full update' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand update" -s v -l verbose -d 'Display detailed progress information' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand update" -s h -l help -d 'Print help' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand run" -s i -l interactive -d 'Interactive script execution mode' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand run" -s p -l preview -d 'Preview mode (display content only)' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand run" -s f -l force -d 'Update Gist cache before execution' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand run" -l download -d 'Save file to download folder' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand run" -l id -d 'Direct ID specification mode' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand run" -l filename -d 'Search by filename' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand run" -l description -d 'Search by description' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand run" -s h -l help -d 'Print help' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and not __fish_seen_subcommand_from list size clean clear help" -s h -l help -d 'Print help' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and not __fish_seen_subcommand_from list size clean clear help" -f -a "list" -d 'Display list of cached Gists' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and not __fish_seen_subcommand_from list size clean clear help" -f -a "size" -d 'Display total cache size' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and not __fish_seen_subcommand_from list size clean clear help" -f -a "clean" -d 'Remove old cache entries' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and not __fish_seen_subcommand_from list size clean clear help" -f -a "clear" -d 'Remove all cache' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and not __fish_seen_subcommand_from list size clean clear help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and __fish_seen_subcommand_from list" -l format -d 'Output format' -r -f -a "text\t'Human-readable text format (default)' [INFO] [stdout] json\t'JSON format for scripting'" [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and __fish_seen_subcommand_from list" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and __fish_seen_subcommand_from size" -s h -l help -d 'Print help' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and __fish_seen_subcommand_from clean" -l older-than -d 'Remove entries older than specified days' -r [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and __fish_seen_subcommand_from clean" -l orphaned -d 'Remove orphaned content cache files (content without metadata)' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and __fish_seen_subcommand_from clean" -l dry-run -d 'Preview what would be deleted without actually deleting' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and __fish_seen_subcommand_from clean" -s h -l help -d 'Print help' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and __fish_seen_subcommand_from clear" -s h -l help -d 'Print help' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and __fish_seen_subcommand_from help" -f -a "list" -d 'Display list of cached Gists' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and __fish_seen_subcommand_from help" -f -a "size" -d 'Display total cache size' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and __fish_seen_subcommand_from help" -f -a "clean" -d 'Remove old cache entries' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; and __fish_seen_subcommand_from help" -f -a "clear" -d 'Remove all cache' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand cache; 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 gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and not __fish_seen_subcommand_from set get show setting edit reset help" -s h -l help -d 'Print help' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and not __fish_seen_subcommand_from set get show setting edit reset help" -f -a "set" -d 'Set a configuration value' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and not __fish_seen_subcommand_from set get show setting edit reset help" -f -a "get" -d 'Get a configuration value' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and not __fish_seen_subcommand_from set get show setting edit reset help" -f -a "show" -d 'Show all configuration values' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and not __fish_seen_subcommand_from set get show setting edit reset help" -f -a "setting" -d 'Interactive configuration setting' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and not __fish_seen_subcommand_from set get show setting edit reset help" -f -a "edit" -d 'Edit configuration file in $EDITOR' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and not __fish_seen_subcommand_from set get show setting edit reset help" -f -a "reset" -d 'Reset configuration to defaults' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and not __fish_seen_subcommand_from set get show setting edit reset help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and __fish_seen_subcommand_from set" -s h -l help -d 'Print help' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and __fish_seen_subcommand_from get" -s h -l help -d 'Print help' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and __fish_seen_subcommand_from show" -s h -l help -d 'Print help' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and __fish_seen_subcommand_from setting" -s h -l help -d 'Print help' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and __fish_seen_subcommand_from edit" -s h -l help -d 'Print help' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and __fish_seen_subcommand_from reset" -s h -l help -d 'Print help' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and __fish_seen_subcommand_from help" -f -a "set" -d 'Set a configuration value' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and __fish_seen_subcommand_from help" -f -a "get" -d 'Get a configuration value' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and __fish_seen_subcommand_from help" -f -a "show" -d 'Show all configuration values' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and __fish_seen_subcommand_from help" -f -a "setting" -d 'Interactive configuration setting' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and __fish_seen_subcommand_from help" -f -a "edit" -d 'Edit configuration file in $EDITOR' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; and __fish_seen_subcommand_from help" -f -a "reset" -d 'Reset configuration to defaults' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand config; 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 gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand completions" -s h -l help -d 'Print help (see more with \'--help\')' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand help; and not __fish_seen_subcommand_from update run cache config completions help" -f -a "update" -d 'Update cache' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand help; and not __fish_seen_subcommand_from update run cache config completions help" -f -a "run" -d 'Search from cache and execute' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand help; and not __fish_seen_subcommand_from update run cache config completions help" -f -a "cache" -d 'Cache management' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand help; and not __fish_seen_subcommand_from update run cache config completions help" -f -a "config" -d 'Configuration management' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand help; and not __fish_seen_subcommand_from update run cache config completions help" -f -a "completions" -d 'Generate shell completion scripts' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand help; and not __fish_seen_subcommand_from update run cache config completions help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand help; and __fish_seen_subcommand_from cache" -f -a "list" -d 'Display list of cached Gists' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand help; and __fish_seen_subcommand_from cache" -f -a "size" -d 'Display total cache size' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand help; and __fish_seen_subcommand_from cache" -f -a "clean" -d 'Remove old cache entries' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand help; and __fish_seen_subcommand_from cache" -f -a "clear" -d 'Remove all cache' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand help; and __fish_seen_subcommand_from config" -f -a "set" -d 'Set a configuration value' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand help; and __fish_seen_subcommand_from config" -f -a "get" -d 'Get a configuration value' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand help; and __fish_seen_subcommand_from config" -f -a "show" -d 'Show all configuration values' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand help; and __fish_seen_subcommand_from config" -f -a "setting" -d 'Interactive configuration setting' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand help; and __fish_seen_subcommand_from config" -f -a "edit" -d 'Edit configuration file in $EDITOR' [INFO] [stdout] complete -c gist-cache-rs -n "__fish_gist_cache_rs_using_subcommand help; and __fish_seen_subcommand_from config" -f -a "reset" -d 'Reset configuration to defaults' [INFO] [stdout] #compdef gist-cache-rs [INFO] [stdout] [INFO] [stdout] autoload -U is-at-least [INFO] [stdout] [INFO] [stdout] _gist-cache-rs() { [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] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '-V[Print version]' \ [INFO] [stdout] '--version[Print version]' \ [INFO] [stdout] ":: :_gist-cache-rs_commands" \ [INFO] [stdout] "*::: :->gist-cache-rs" \ [INFO] [stdout] && ret=0 [INFO] [stdout] case $state in [INFO] [stdout] (gist-cache-rs) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:gist-cache-rs-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (update) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-f[Force full update]' \ [INFO] [stdout] '--force[Force full update]' \ [INFO] [stdout] '-v[Display detailed progress information]' \ [INFO] [stdout] '--verbose[Display detailed progress information]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (run) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-i[Interactive script execution mode]' \ [INFO] [stdout] '--interactive[Interactive script execution mode]' \ [INFO] [stdout] '-p[Preview mode (display content only)]' \ [INFO] [stdout] '--preview[Preview mode (display content only)]' \ [INFO] [stdout] '-f[Update Gist cache before execution]' \ [INFO] [stdout] '--force[Update Gist cache before execution]' \ [INFO] [stdout] '--download[Save file to download folder]' \ [INFO] [stdout] '--id[Direct ID specification mode]' \ [INFO] [stdout] '--filename[Search by filename]' \ [INFO] [stdout] '--description[Search by description]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '::query -- Search keyword (ID, filename, or description):_default' \ [INFO] [stdout] '::interpreter -- Interpreter or execution command (bash, python3, uv, etc.):_default' \ [INFO] [stdout] '*::script_args -- Additional arguments to pass to the script:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (cache) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ":: :_gist-cache-rs__cache_commands" \ [INFO] [stdout] "*::: :->cache" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (cache) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:gist-cache-rs-cache-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (list) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--format=[Output format]:FORMAT:((text\:"Human-readable text format (default)" [INFO] [stdout] json\:"JSON format for scripting"))' \ [INFO] [stdout] '-h[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] '--help[Print help (see more with '\''--help'\'')]' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (size) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (clean) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '--older-than=[Remove entries older than specified days]:DAYS:_default' \ [INFO] [stdout] '--orphaned[Remove orphaned content cache files (content without metadata)]' \ [INFO] [stdout] '--dry-run[Preview what would be deleted without actually deleting]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (clear) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_gist-cache-rs__cache__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%:*:*}:gist-cache-rs-cache-help-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (list) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (size) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (clean) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (clear) [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] (config) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ":: :_gist-cache-rs__config_commands" \ [INFO] [stdout] "*::: :->config" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (config) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:gist-cache-rs-config-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (set) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':key -- Configuration key (e.g., defaults.interpreter):_default' \ [INFO] [stdout] ':value -- Configuration value:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (get) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':key -- Configuration key:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (show) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (setting) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (edit) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (reset) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_gist-cache-rs__config__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%:*:*}:gist-cache-rs-config-help-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (set) [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] (show) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (setting) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (edit) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (reset) [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] (completions) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [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\:"Bash shell" [INFO] [stdout] zsh\:"Zsh shell" [INFO] [stdout] fish\:"Fish shell" [INFO] [stdout] powershell\:"PowerShell"))' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_gist-cache-rs__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%:*:*}:gist-cache-rs-help-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (update) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (run) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (cache) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_gist-cache-rs__help__cache_commands" \ [INFO] [stdout] "*::: :->cache" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (cache) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:gist-cache-rs-help-cache-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (list) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (size) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (clean) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (clear) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] (config) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_gist-cache-rs__help__config_commands" \ [INFO] [stdout] "*::: :->config" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (config) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:gist-cache-rs-help-config-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (set) [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] (show) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (setting) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (edit) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (reset) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] (completions) [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[_gist-cache-rs_commands] )) || [INFO] [stdout] _gist-cache-rs_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'update:Update cache' \ [INFO] [stdout] 'run:Search from cache and execute' \ [INFO] [stdout] 'cache:Cache management' \ [INFO] [stdout] 'config:Configuration management' \ [INFO] [stdout] 'completions:Generate shell completion scripts' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'gist-cache-rs commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__cache_commands] )) || [INFO] [stdout] _gist-cache-rs__cache_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'list:Display list of cached Gists' \ [INFO] [stdout] 'size:Display total cache size' \ [INFO] [stdout] 'clean:Remove old cache entries' \ [INFO] [stdout] 'clear:Remove all cache' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'gist-cache-rs cache commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__cache__clean_commands] )) || [INFO] [stdout] _gist-cache-rs__cache__clean_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs cache clean commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__cache__clear_commands] )) || [INFO] [stdout] _gist-cache-rs__cache__clear_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs cache clear commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__cache__help_commands] )) || [INFO] [stdout] _gist-cache-rs__cache__help_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'list:Display list of cached Gists' \ [INFO] [stdout] 'size:Display total cache size' \ [INFO] [stdout] 'clean:Remove old cache entries' \ [INFO] [stdout] 'clear:Remove all cache' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'gist-cache-rs cache help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__cache__help__clean_commands] )) || [INFO] [stdout] _gist-cache-rs__cache__help__clean_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs cache help clean commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__cache__help__clear_commands] )) || [INFO] [stdout] _gist-cache-rs__cache__help__clear_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs cache help clear commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__cache__help__help_commands] )) || [INFO] [stdout] _gist-cache-rs__cache__help__help_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs cache help help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__cache__help__list_commands] )) || [INFO] [stdout] _gist-cache-rs__cache__help__list_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs cache help list commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__cache__help__size_commands] )) || [INFO] [stdout] _gist-cache-rs__cache__help__size_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs cache help size commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__cache__list_commands] )) || [INFO] [stdout] _gist-cache-rs__cache__list_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs cache list commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__cache__size_commands] )) || [INFO] [stdout] _gist-cache-rs__cache__size_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs cache size commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__completions_commands] )) || [INFO] [stdout] _gist-cache-rs__completions_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs completions commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__config_commands] )) || [INFO] [stdout] _gist-cache-rs__config_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'set:Set a configuration value' \ [INFO] [stdout] 'get:Get a configuration value' \ [INFO] [stdout] 'show:Show all configuration values' \ [INFO] [stdout] 'setting:Interactive configuration setting' \ [INFO] [stdout] 'edit:Edit configuration file in \$EDITOR' \ [INFO] [stdout] 'reset:Reset configuration to defaults' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'gist-cache-rs config commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__config__edit_commands] )) || [INFO] [stdout] _gist-cache-rs__config__edit_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs config edit commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__config__get_commands] )) || [INFO] [stdout] _gist-cache-rs__config__get_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs config get commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__config__help_commands] )) || [INFO] [stdout] _gist-cache-rs__config__help_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'set:Set a configuration value' \ [INFO] [stdout] 'get:Get a configuration value' \ [INFO] [stdout] 'show:Show all configuration values' \ [INFO] [stdout] 'setting:Interactive configuration setting' \ [INFO] [stdout] 'edit:Edit configuration file in \$EDITOR' \ [INFO] [stdout] 'reset:Reset configuration to defaults' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'gist-cache-rs config help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__config__help__edit_commands] )) || [INFO] [stdout] _gist-cache-rs__config__help__edit_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs config help edit commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__config__help__get_commands] )) || [INFO] [stdout] _gist-cache-rs__config__help__get_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs config help get commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__config__help__help_commands] )) || [INFO] [stdout] _gist-cache-rs__config__help__help_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs config help help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__config__help__reset_commands] )) || [INFO] [stdout] _gist-cache-rs__config__help__reset_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs config help reset commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__config__help__set_commands] )) || [INFO] [stdout] _gist-cache-rs__config__help__set_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs config help set commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__config__help__setting_commands] )) || [INFO] [stdout] _gist-cache-rs__config__help__setting_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs config help setting commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__config__help__show_commands] )) || [INFO] [stdout] _gist-cache-rs__config__help__show_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs config help show commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__config__reset_commands] )) || [INFO] [stdout] _gist-cache-rs__config__reset_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs config reset commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__config__set_commands] )) || [INFO] [stdout] _gist-cache-rs__config__set_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs config set commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__config__setting_commands] )) || [INFO] [stdout] _gist-cache-rs__config__setting_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs config setting commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__config__show_commands] )) || [INFO] [stdout] _gist-cache-rs__config__show_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs config show commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__help_commands] )) || [INFO] [stdout] _gist-cache-rs__help_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'update:Update cache' \ [INFO] [stdout] 'run:Search from cache and execute' \ [INFO] [stdout] 'cache:Cache management' \ [INFO] [stdout] 'config:Configuration management' \ [INFO] [stdout] 'completions:Generate shell completion scripts' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'gist-cache-rs help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__help__cache_commands] )) || [INFO] [stdout] _gist-cache-rs__help__cache_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'list:Display list of cached Gists' \ [INFO] [stdout] 'size:Display total cache size' \ [INFO] [stdout] 'clean:Remove old cache entries' \ [INFO] [stdout] 'clear:Remove all cache' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'gist-cache-rs help cache commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__help__cache__clean_commands] )) || [INFO] [stdout] _gist-cache-rs__help__cache__clean_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs help cache clean commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__help__cache__clear_commands] )) || [INFO] [stdout] _gist-cache-rs__help__cache__clear_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs help cache clear commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__help__cache__list_commands] )) || [INFO] [stdout] _gist-cache-rs__help__cache__list_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs help cache list commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__help__cache__size_commands] )) || [INFO] [stdout] _gist-cache-rs__help__cache__size_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs help cache size commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__help__completions_commands] )) || [INFO] [stdout] _gist-cache-rs__help__completions_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs help completions commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__help__config_commands] )) || [INFO] [stdout] _gist-cache-rs__help__config_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'set:Set a configuration value' \ [INFO] [stdout] 'get:Get a configuration value' \ [INFO] [stdout] 'show:Show all configuration values' \ [INFO] [stdout] 'setting:Interactive configuration setting' \ [INFO] [stdout] 'edit:Edit configuration file in \$EDITOR' \ [INFO] [stdout] 'reset:Reset configuration to defaults' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'gist-cache-rs help config commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__help__config__edit_commands] )) || [INFO] [stdout] _gist-cache-rs__help__config__edit_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs help config edit commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__help__config__get_commands] )) || [INFO] [stdout] _gist-cache-rs__help__config__get_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs help config get commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__help__config__reset_commands] )) || [INFO] [stdout] _gist-cache-rs__help__config__reset_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs help config reset commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__help__config__set_commands] )) || [INFO] [stdout] _gist-cache-rs__help__config__set_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs help config set commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__help__config__setting_commands] )) || [INFO] [stdout] _gist-cache-rs__help__config__setting_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs help config setting commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__help__config__show_commands] )) || [INFO] [stdout] _gist-cache-rs__help__config__show_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs help config show commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__help__help_commands] )) || [INFO] [stdout] _gist-cache-rs__help__help_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs help help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__help__run_commands] )) || [INFO] [stdout] _gist-cache-rs__help__run_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs help run commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__help__update_commands] )) || [INFO] [stdout] _gist-cache-rs__help__update_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs help update commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__run_commands] )) || [INFO] [stdout] _gist-cache-rs__run_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs run commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_gist-cache-rs__update_commands] )) || [INFO] [stdout] _gist-cache-rs__update_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'gist-cache-rs update commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] if [ "$funcstack[1]" = "_gist-cache-rs" ]; then [INFO] [stdout] _gist-cache-rs "$@" [INFO] [stdout] else [INFO] [stdout] compdef _gist-cache-rs gist-cache-rs [INFO] [stdout] fi [INFO] [stdout] test cli::tests::test_parse_interpreter_node ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_perl ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_deno ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_none ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_php ... ok [INFO] [stdout] _gist-cache-rs() { [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="gist__cache__rs" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs,cache) [INFO] [stdout] cmd="gist__cache__rs__cache" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs,completions) [INFO] [stdout] cmd="gist__cache__rs__completions" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs,config) [INFO] [stdout] cmd="gist__cache__rs__config" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs,help) [INFO] [stdout] cmd="gist__cache__rs__help" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs,run) [INFO] [stdout] cmd="gist__cache__rs__run" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs,update) [INFO] [stdout] cmd="gist__cache__rs__update" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__cache,clean) [INFO] [stdout] cmd="gist__cache__rs__cache__clean" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__cache,clear) [INFO] [stdout] cmd="gist__cache__rs__cache__clear" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__cache,help) [INFO] [stdout] cmd="gist__cache__rs__cache__help" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__cache,list) [INFO] [stdout] cmd="gist__cache__rs__cache__list" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__cache,size) [INFO] [stdout] cmd="gist__cache__rs__cache__size" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__cache__help,clean) [INFO] [stdout] cmd="gist__cache__rs__cache__help__clean" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__cache__help,clear) [INFO] [stdout] cmd="gist__cache__rs__cache__help__clear" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__cache__help,help) [INFO] [stdout] cmd="gist__cache__rs__cache__help__help" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__cache__help,list) [INFO] [stdout] cmd="gist__cache__rs__cache__help__list" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__cache__help,size) [INFO] [stdout] cmd="gist__cache__rs__cache__help__size" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__config,edit) [INFO] [stdout] cmd="gist__cache__rs__config__edit" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__config,get) [INFO] [stdout] cmd="gist__cache__rs__config__get" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__config,help) [INFO] [stdout] cmd="gist__cache__rs__config__help" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__config,reset) [INFO] [stdout] cmd="gist__cache__rs__config__reset" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__config,set) [INFO] [stdout] cmd="gist__cache__rs__config__set" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__config,setting) [INFO] [stdout] cmd="gist__cache__rs__config__setting" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__config,show) [INFO] [stdout] cmd="gist__cache__rs__config__show" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__config__help,edit) [INFO] [stdout] cmd="gist__cache__rs__config__help__edit" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__config__help,get) [INFO] [stdout] cmd="gist__cache__rs__config__help__get" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__config__help,help) [INFO] [stdout] cmd="gist__cache__rs__config__help__help" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__config__help,reset) [INFO] [stdout] cmd="gist__cache__rs__config__help__reset" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__config__help,set) [INFO] [stdout] cmd="gist__cache__rs__config__help__set" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__config__help,setting) [INFO] [stdout] cmd="gist__cache__rs__config__help__setting" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__config__help,show) [INFO] [stdout] cmd="gist__cache__rs__config__help__show" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__help,cache) [INFO] [stdout] cmd="gist__cache__rs__help__cache" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__help,completions) [INFO] [stdout] cmd="gist__cache__rs__help__completions" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__help,config) [INFO] [stdout] cmd="gist__cache__rs__help__config" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__help,help) [INFO] [stdout] cmd="gist__cache__rs__help__help" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__help,run) [INFO] [stdout] cmd="gist__cache__rs__help__run" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__help,update) [INFO] [stdout] cmd="gist__cache__rs__help__update" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__help__cache,clean) [INFO] [stdout] cmd="gist__cache__rs__help__cache__clean" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__help__cache,clear) [INFO] [stdout] cmd="gist__cache__rs__help__cache__clear" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__help__cache,list) [INFO] [stdout] cmd="gist__cache__rs__help__cache__list" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__help__cache,size) [INFO] [stdout] cmd="gist__cache__rs__help__cache__size" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__help__config,edit) [INFO] [stdout] cmd="gist__cache__rs__help__config__edit" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__help__config,get) [INFO] [stdout] cmd="gist__cache__rs__help__config__get" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__help__config,reset) [INFO] [stdout] cmd="gist__cache__rs__help__config__reset" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__help__config,set) [INFO] [stdout] cmd="gist__cache__rs__help__config__set" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__help__config,setting) [INFO] [stdout] cmd="gist__cache__rs__help__config__setting" [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__help__config,show) [INFO] [stdout] cmd="gist__cache__rs__help__config__show" [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] done [INFO] [stdout] [INFO] [stdout] case "${cmd}" in [INFO] [stdout] gist__cache__rs) [INFO] [stdout] opts="-h -V --help --version update run cache config completions 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] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__cache) [INFO] [stdout] opts="-h --help list size clean clear 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] gist__cache__rs__cache__clean) [INFO] [stdout] opts="-h --older-than --orphaned --dry-run --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] --older-than) [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] gist__cache__rs__cache__clear) [INFO] [stdout] opts="-h --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] gist__cache__rs__cache__help) [INFO] [stdout] opts="list size clean clear 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] gist__cache__rs__cache__help__clean) [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] gist__cache__rs__cache__help__clear) [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] gist__cache__rs__cache__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] gist__cache__rs__cache__help__list) [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] gist__cache__rs__cache__help__size) [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] gist__cache__rs__cache__list) [INFO] [stdout] opts="-h --format --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] --format) [INFO] [stdout] COMPREPLY=($(compgen -W "text json" -- "${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] gist__cache__rs__cache__size) [INFO] [stdout] opts="-h --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] gist__cache__rs__completions) [INFO] [stdout] opts="-h --help bash zsh fish powershell" [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] gist__cache__rs__config) [INFO] [stdout] opts="-h --help set get show setting edit reset 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] gist__cache__rs__config__edit) [INFO] [stdout] opts="-h --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] gist__cache__rs__config__get) [INFO] [stdout] opts="-h --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] gist__cache__rs__config__help) [INFO] [stdout] opts="set get show setting edit reset 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] gist__cache__rs__config__help__edit) [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] gist__cache__rs__config__help__get) [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] gist__cache__rs__config__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] gist__cache__rs__config__help__reset) [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] gist__cache__rs__config__help__set) [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] gist__cache__rs__config__help__setting) [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] gist__cache__rs__config__help__show) [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] gist__cache__rs__config__reset) [INFO] [stdout] opts="-h --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] gist__cache__rs__config__set) [INFO] [stdout] opts="-h --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] gist__cache__rs__config__setting) [INFO] [stdout] opts="-h --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] gist__cache__rs__config__show) [INFO] [stdout] opts="-h --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] gist__cache__rs__help) [INFO] [stdout] opts="update run cache config completions 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] gist__cache__rs__help__cache) [INFO] [stdout] opts="list size clean clear" [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] gist__cache__rs__help__cache__clean) [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] gist__cache__rs__help__cache__clear) [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] gist__cache__rs__help__cache__list) [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] gist__cache__rs__help__cache__size) [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] gist__cache__rs__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] gist__cache__rs__help__config) [INFO] [stdout] opts="set get show setting edit reset" [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] gist__cache__rs__help__config__edit) [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] gist__cache__rs__help__config__get) [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] gist__cache__rs__help__config__reset) [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] gist__cache__rs__help__config__set) [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] gist__cache__rs__help__config__setting) [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] gist__cache__rs__help__config__show) [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] gist__cache__rs__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] gist__cache__rs__help__run) [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] gist__cache__rs__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] gist__cache__rs__run) [INFO] [stdout] opts="-i -p -f -h --interactive --preview --force --download --id --filename --description --help [QUERY] [INTERPRETER] [SCRIPT_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] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] gist__cache__rs__update) [INFO] [stdout] opts="-f -v -h --force --verbose --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] 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 _gist-cache-rs -o nosort -o bashdefault -o default gist-cache-rs [INFO] [stdout] else [INFO] [stdout] complete -F _gist-cache-rs -o bashdefault -o default gist-cache-rs [INFO] [stdout] fi [INFO] [stdout] test cli::tests::test_handle_cache_command_list_with_cache ... ok [INFO] [stdout] test cli::tests::test_generate_completions_fish ... ok [INFO] [stdout] test cli::tests::test_handle_cache_command_clean_with_orphaned ... ok [INFO] [stdout] test cli::tests::test_generate_completions_zsh ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_powershell ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_pwsh ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_python_alias ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_python ... ok [INFO] [stdout] test cache::update::tests::test_update_with_rate_limit_warning ... ok [INFO] [stdout] test cli::tests::test_generate_completions_bash ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_ts_node ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_zsh ... ok [INFO] [stdout] test cli::tests::test_print_run_help ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_ruby ... ok [INFO] [stdout] test config::tests::test_config_new ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_sh ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_uv ... ok [INFO] [stdout] test config::tests::test_cache_exists ... ok [INFO] [stdout] test cli::tests::test_shell_enum_values ... ok [INFO] [stdout] test cli::tests::test_run_gist_cache_not_found ... ok [INFO] [stdout] test cli::tests::test_run_gist_no_results ... ok [INFO] [stdout] test cli::tests::test_language_to_interpreter ... ok [INFO] [stdout] test config::tests::test_ensure_download_dir ... ok [INFO] [stdout] test cli::tests::test_run_gist_with_filename_search ... ok [INFO] [stdout] test config::tests::test_ensure_cache_dir ... ok [INFO] [stdout] test config::tests::test_legacy_single_interpreter_config ... ok [INFO] [stdout] test error::tests::test_error_display ... ok [INFO] [stdout] test error::tests::test_error_from_json ... ok [INFO] [stdout] test error::tests::test_result_type_alias ... ok [INFO] [stdout] test error::tests::test_error_from_io ... ok [INFO] [stdout] test execution::runner::tests::test_run_options ... ok [INFO] [stdout] test config::tests::test_config_persistence ... ok [INFO] [stdout] test execution::runner::tests::test_display_info ... ok [INFO] [stdout] test config::tests::test_config_default ... ok [INFO] [stdout] test execution::runner::tests::test_run_options_combinations ... ok [INFO] [stdout] test execution::runner::tests::test_run_options_download_mode ... ok [INFO] [stdout] test execution::runner::tests::test_run_options_preview_mode ... ok [INFO] [stdout] test execution::runner::tests::test_select_main_file_by_interpreter ... ok [INFO] [stdout] test execution::runner::tests::test_select_main_file_multiple_files ... ok [INFO] [stdout] test execution::runner::tests::test_select_main_file_single_file ... ok [INFO] [stdout] test cli::tests::test_run_gist_with_description_search ... ok [INFO] [stdout] test github::api::tests::test_check_auth_when_authenticated ... ignored [INFO] [stdout] test github::api::tests::test_check_rate_limit ... ignored [INFO] [stdout] test github::api::tests::test_fetch_gists_with_since ... ignored [INFO] [stdout] test github::api::tests::test_fetch_gists_without_since ... ignored [INFO] [stdout] test github::api::tests::test_get_user ... ignored [INFO] [stdout] test execution::runner::tests::test_runner_new ... ok [INFO] [stdout] test github::client::tests::test_mock_get_user ... ok [INFO] [stdout] test execution::runner::tests::test_runner_with_different_interpreters ... ok [INFO] [stdout] test search::query::tests::test_search_both ... ok [INFO] [stdout] test github::api::tests::test_api_structure ... ok [INFO] [stdout] test github::client::tests::test_mock_check_auth_success ... ok [INFO] [stdout] test execution::runner::tests::test_select_main_file_with_explicit_filename ... ok [INFO] [stdout] test search::query::tests::test_search_both_filename_only_match ... ok [INFO] [stdout] test search::query::tests::test_search_both_multiple_matches ... ok [INFO] [stdout] test search::query::tests::test_search_both_no_description ... ok [INFO] [stdout] test search::query::tests::test_search_by_description ... ok [INFO] [stdout] test search::query::tests::test_search_by_description_case_insensitive ... ok [INFO] [stdout] test search::query::tests::test_search_by_description_no_description ... ok [INFO] [stdout] test search::query::tests::test_search_by_filename_case_insensitive ... ok [INFO] [stdout] test search::query::tests::test_search_by_id ... ok [INFO] [stdout] test search::query::tests::test_search_id_no_match ... ok [INFO] [stdout] test search::query::tests::test_search_mode_auto_detects_id ... ok [INFO] [stdout] test search::query::tests::test_search_filename_multiple_files ... ok [INFO] [stdout] test search::query::tests::test_search_mode_auto_detects_both ... ok [INFO] [stdout] test search::query::tests::test_search_with_auto_mode_id ... ok [INFO] [stdout] test search::query::tests::test_search_empty_gist_list ... ok [INFO] [stdout] test search::query::tests::test_search_mode_auto_with_short_hex ... ok [INFO] [stdout] test search::query::tests::test_search_no_results ... ok [INFO] [stdout] test search::query::tests::test_search_mode_auto_with_non_hex ... ok [INFO] [stdout] test search::query::tests::test_search_with_auto_mode_keyword ... ok [INFO] [stdout] test search::query::tests::test_select_from_empty_results ... ok [INFO] [stdout] test search::query::tests::test_select_from_single_result ... ok [INFO] [stdout] test cache::content::tests::test_list_cached_gists_when_no_cache_dir ... ok [INFO] [stdout] test cache::content::tests::test_clear_all_when_empty ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_poetry ... ok [INFO] [stdout] test search::query::tests::test_search_both_description_only_match ... ok [INFO] [stdout] test github::client::tests::test_mock_check_rate_limit ... ok [INFO] [stdout] test github::client::tests::test_mock_fetch_gist_content ... ok [INFO] [stdout] test config::tests::test_set_nested_interpreter_config ... ok [INFO] [stdout] test search::query::tests::test_search_by_filename ... ok [INFO] [stdout] test github::client::tests::test_mock_fetch_gists ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_custom_invalid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 143 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gist_cache_rs-8920d6cf8a4577da) [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] [stderr] Running tests/cli_tests.rs (/opt/rustwide/target/debug/deps/cli_tests-a29c39330f901b25) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test test_cache_clear_with_no_input ... ok [INFO] [stdout] test test_cli_help ... ok [INFO] [stdout] test test_completions_fish ... ok [INFO] [stdout] test test_cache_size ... ok [INFO] [stdout] test test_completions_bash_contains_commands ... ok [INFO] [stdout] test test_completions_zsh_contains_commands ... ok [INFO] [stdout] test test_completions_powershell ... ok [INFO] [stdout] test test_cache_list_json_format_empty ... ok [INFO] [stdout] test test_completions_help ... ok [INFO] [stdout] test test_completions_zsh ... ok [INFO] [stdout] test test_cli_version ... ok [INFO] [stdout] test test_completions_invalid_shell ... ok [INFO] [stdout] test test_completions_bash ... ok [INFO] [stdout] test test_cache_list_json_format ... ok [INFO] [stdout] test test_config_show ... ok [INFO] [stdout] test test_invalid_command ... ok [INFO] [stdout] test test_run_with_preview_flag ... ok [INFO] [stdout] test test_run_without_cache ... ok [INFO] [stdout] test test_run_with_description_flag ... ok [INFO] [stdout] test test_run_without_query ... ok [INFO] [stdout] test test_run_with_filename_flag ... ok [INFO] [stdout] test test_update_without_auth ... ok [INFO] [stdout] test test_config_reset ... ok [INFO] [stdout] test test_config_set_get ... ok [INFO] [stdout] test test_update_verbose ... ok [INFO] [stdout] test test_update_with_progress_display ... ok [INFO] [stdout] test test_update_force ... ok [INFO] [stdout] test test_config_show_empty ... ok [INFO] [stdout] test test_config_show_with_content ... ok [INFO] [stdout] test test_update_verbose_without_progress ... ok [INFO] [stdout] test test_run_with_id_flag ... ok [INFO] [stdout] test test_cache_list_empty ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_cache_list_empty stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_cache_list_empty' (179) panicked at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5: [INFO] [stdout] Unexpected stdout, failed var.contains(No cached Gists) [INFO] [stdout] ├── var: List of cached Gists: [INFO] [stdout] │ [INFO] [stdout] │ ID: abc123 [INFO] [stdout] │ Description: Test Gist [INFO] [stdout] │ Files: test.sh [INFO] [stdout] │ Updated: 2024-01-01 12:00:00 [INFO] [stdout] │ [INFO] [stdout] │ Total: 1 Gists cached [INFO] [stdout] └── var as str: List of cached Gists: [INFO] [stdout] [INFO] [stdout] ID: abc123 [INFO] [stdout] Description: Test Gist [INFO] [stdout] Files: test.sh [INFO] [stdout] Updated: 2024-01-01 12:00:00 [INFO] [stdout] [INFO] [stdout] Total: 1 Gists cached [INFO] [stdout] [INFO] [stdout] command=`"/opt/rustwide/target/debug/gist-cache-rs" "cache" "list"` [INFO] [stdout] code=0 [INFO] [stdout] stdout=``` [INFO] [stdout] List of cached Gists: [INFO] [stdout] [INFO] [stdout] ID: abc123 [INFO] [stdout] Description: Test Gist [INFO] [stdout] Files: test.sh [INFO] [stdout] Updated: 2024-01-01 12:00:00 [INFO] [stdout] [INFO] [stdout] Total: 1 Gists cached [INFO] [stdout] ``` [INFO] [stdout] [INFO] [stdout] stderr="" [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ee326075662 - std[3b51380354919863]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ee326075662 - std[3b51380354919863]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ee326075662 - std[3b51380354919863]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5ee326075662 - <::print::DisplayBacktrace as core[27de1724e4349be2]::fmt::Display>::fmt [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5ee32608c7ca - ::fmt [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5ee32608c7ca - core[27de1724e4349be2]::fmt::write [INFO] [stdout] 6: 0x5ee32607b9e6 - std[3b51380354919863]::io::default_write_fmt::> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ee32607b9e6 - as std[3b51380354919863]::io::Write>::write_fmt [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5ee32605243f - ::print [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5ee32605243f - std[3b51380354919863]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5ee32606cfe9 - std[3b51380354919863]::panicking::default_hook [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5ee325fba3fe - core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x5ee325fba3fe - test[182b2e79ecd7bbd9]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5ee32606d1a2 - core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x5ee32606d1a2 - std[3b51380354919863]::panicking::panic_with_hook [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5ee3260524f8 - std[3b51380354919863]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5ee326047569 - std[3b51380354919863]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5ee3260533ed - __rustc[d79c0ace40940972]::rust_begin_unwind [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5ee32608cf5c - core[27de1724e4349be2]::panicking::panic_fmt [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5ee325fff448 - core[27de1724e4349be2]::panicking::panic_display:: [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:259:5 [INFO] [stdout] 20: 0x5ee3260090e7 - ::panic:: [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assert_cmd-2.1.1/src/assert.rs:1033:9 [INFO] [stdout] 21: 0x5ee326001787 - <::panic as core[27de1724e4349be2]::ops::function::FnOnce<(assert_cmd[421889ee4cb959fb]::assert::AssertError,)>>::call_once [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x5ee326002314 - >::unwrap_or_else::<::panic> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/result.rs:1622:23 [INFO] [stdout] 23: 0x5ee325fa05e4 - ::stdout::> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assert_cmd-2.1.1/src/assert.rs:364:31 [INFO] [stdout] 24: 0x5ee325fa4bde - cli_tests[105807083f2c31fd]::test_cache_list_empty [INFO] [stdout] at /opt/rustwide/workdir/tests/cli_tests.rs:78:10 [INFO] [stdout] 25: 0x5ee325fa1907 - cli_tests[105807083f2c31fd]::test_cache_list_empty::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/tests/cli_tests.rs:68:27 [INFO] [stdout] 26: 0x5ee325fae0e6 - >::call_once [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x5ee325fae7ab - core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x5ee325fae7ab - test[182b2e79ecd7bbd9]::__rust_begin_short_backtrace::, fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:663:18 [INFO] [stdout] 29: 0x5ee325fbb00a - test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:74 [INFO] [stdout] 30: 0x5ee325fbb00a - as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 31: 0x5ee325fbb00a - std[3b51380354919863]::panicking::catch_unwind::do_call::, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40 [INFO] [stdout] 32: 0x5ee325fbb00a - std[3b51380354919863]::panicking::catch_unwind::, core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19 [INFO] [stdout] 33: 0x5ee325fbb00a - std[3b51380354919863]::panic::catch_unwind::, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x5ee325fbb00a - test[182b2e79ecd7bbd9]::run_test_in_process [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:27 [INFO] [stdout] 35: 0x5ee325fbb00a - test[182b2e79ecd7bbd9]::run_test::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:607:43 [INFO] [stdout] 36: 0x5ee325fb65b4 - test[182b2e79ecd7bbd9]::run_test::{closure#1} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:637:41 [INFO] [stdout] 37: 0x5ee325fb65b4 - std[3b51380354919863]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 38: 0x5ee325fbdb02 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 39: 0x5ee325fbdb02 - ::{closure#1}::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 40: 0x5ee325fbdb02 - std[3b51380354919863]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40 [INFO] [stdout] 41: 0x5ee325fbdb02 - std[3b51380354919863]::panicking::catch_unwind::<(), core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19 [INFO] [stdout] 42: 0x5ee325fbdb02 - std[3b51380354919863]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: 0x5ee325fbdb02 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 44: 0x5ee325fbdb02 - ::{closure#1} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x5ee326074cef - + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 46: 0x5ee326074cef - ::new::thread_start [INFO] [stdout] at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stdout] 47: 0x7b8755b60aa4 - [INFO] [stdout] 48: 0x7b8755beda64 - clone [INFO] [stdout] 49: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_cache_list_empty [INFO] [stdout] [INFO] [stdout] test result: FAILED. 31 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test cli_tests` [INFO] running `Command { std: "docker" "inspect" "e672bb7568eae886e21408dbaf5074953f67a7c5895743783e6a0270b33fa814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e672bb7568eae886e21408dbaf5074953f67a7c5895743783e6a0270b33fa814", kill_on_drop: false }` [INFO] [stdout] e672bb7568eae886e21408dbaf5074953f67a7c5895743783e6a0270b33fa814