[INFO] fetching crate gist-cache-rs 0.8.7... [INFO] testing gist-cache-rs-0.8.7 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] extracting crate gist-cache-rs 0.8.7 into /workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gist-cache-rs 0.8.7 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 147202dbc8214cb345d792982f124b3eaa69184e487df3658cd599ff558c4841 [INFO] running `Command { std: "docker" "start" "-a" "147202dbc8214cb345d792982f124b3eaa69184e487df3658cd599ff558c4841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "147202dbc8214cb345d792982f124b3eaa69184e487df3658cd599ff558c4841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "147202dbc8214cb345d792982f124b3eaa69184e487df3658cd599ff558c4841", kill_on_drop: false }` [INFO] [stdout] 147202dbc8214cb345d792982f124b3eaa69184e487df3658cd599ff558c4841 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90e3961c7c91583fe5b4f53f86de40c372611db59b58ebe621ff24270e125e65 [INFO] running `Command { std: "docker" "start" "-a" "90e3961c7c91583fe5b4f53f86de40c372611db59b58ebe621ff24270e125e65", 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 ucd-trie v0.1.7 [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 syn v2.0.111 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling pest v2.8.4 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling console v0.16.2 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling humansize v2.1.3 [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 regex-automata v0.4.13 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling jiff v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling etcetera v0.8.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling pest_meta v2.8.4 [INFO] [stderr] Compiling grep-searcher v0.1.16 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling rayon v1.11.0 [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 ppv-lite86 v0.2.21 [INFO] [stderr] Compiling toml_datetime v0.7.4+spec-1.0.0 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling toml_parser v1.0.5+spec-1.0.0 [INFO] [stderr] Compiling shell-words v1.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling toml_writer v1.0.5+spec-1.0.0 [INFO] [stderr] Compiling unit-prefix v0.5.2 [INFO] [stderr] Compiling indicatif v0.18.3 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling pest_generator v2.8.4 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling toml v0.9.9+spec-1.0.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling dialoguer v0.12.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [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 thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_arbitrary v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling table_formatter v0.6.1 [INFO] [stderr] Compiling arbitrary v1.4.2 [INFO] [stderr] Compiling thiserror v2.0.17 [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 chrono-tz v0.9.0 [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 toml v0.8.23 [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 `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "90e3961c7c91583fe5b4f53f86de40c372611db59b58ebe621ff24270e125e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90e3961c7c91583fe5b4f53f86de40c372611db59b58ebe621ff24270e125e65", kill_on_drop: false }` [INFO] [stdout] 90e3961c7c91583fe5b4f53f86de40c372611db59b58ebe621ff24270e125e65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1727e6cb9ad35c0ec75e5917e24b19c72bd63345e5631526e05a69834d0ee12b [INFO] running `Command { std: "docker" "start" "-a" "1727e6cb9ad35c0ec75e5917e24b19c72bd63345e5631526e05a69834d0ee12b", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling mockall_derive v0.14.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling assert_cmd v2.1.1 [INFO] [stderr] Compiling mockall v0.14.0 [INFO] [stderr] Compiling sdd v3.0.10 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [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 futures-executor v0.3.31 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling grep-searcher v0.1.16 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling globwalk v0.9.1 [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 34.83s [INFO] running `Command { std: "docker" "inspect" "1727e6cb9ad35c0ec75e5917e24b19c72bd63345e5631526e05a69834d0ee12b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1727e6cb9ad35c0ec75e5917e24b19c72bd63345e5631526e05a69834d0ee12b", kill_on_drop: false }` [INFO] [stdout] 1727e6cb9ad35c0ec75e5917e24b19c72bd63345e5631526e05a69834d0ee12b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 30ded6e0808632766b75154ccde128c9bf7e6e4053ce09d3f326e9d3e45fa125 [INFO] running `Command { std: "docker" "start" "-a" "30ded6e0808632766b75154ccde128c9bf7e6e4053ce09d3f326e9d3e45fa125", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [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_calculate_dir_size ... ok [INFO] [stdout] test cache::content::tests::test_cache_path_generation ... 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_orphaned ... ok [INFO] [stdout] test cache::content::tests::test_read_nonexistent_file ... ok [INFO] [stdout] test cache::content::tests::test_delete_gist_already_deleted ... ok [INFO] [stdout] test cache::content::tests::test_clear_all ... ok [INFO] [stdout] test cache::content::tests::test_clear_all_when_empty ... ok [INFO] [stdout] test cache::content::tests::test_list_cached_gists ... ok [INFO] [stdout] test cache::content::tests::test_overwrite_existing_file ... ok [INFO] [stdout] test cache::content::tests::test_total_size ... ok [INFO] [stdout] test cache::content::tests::test_list_cached_gists_with_file_in_contents_dir ... ok [INFO] [stdout] test cache::content::tests::test_total_size_when_no_cache_dir ... ok [INFO] [stdout] test cache::content::tests::test_write_creates_gist_directory ... ok [INFO] [stdout] test cache::content::tests::test_write_and_read ... ok [INFO] [stdout] test cache::content::tests::test_clean_when_nothing_matches ... ok [INFO] [stdout] test cache::content::tests::test_clean_with_no_criteria ... 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::types::tests::test_github_gist_to_gist_info ... ok [INFO] [stdout] test cache::content::tests::test_list_cached_gists_when_no_cache_dir ... ok [INFO] [stdout] test cache::update::tests::test_cache_metadata ... ok [INFO] [stdout] test cache::types::tests::test_gist_cache_serialization ... ok [INFO] [stdout] test cache::types::tests::test_gist_file_clone ... ok [INFO] [stdout] test cache::types::tests::test_gist_info_without_description ... ok [INFO] [stdout] test cache::update::tests::test_load_cache_missing_file ... 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_clean_with_older_than ... ok [INFO] [stdout] test cache::content::tests::test_self_healing_unexpected_files ... ok [INFO] [stdout] test cache::content::tests::test_multiple_files_in_same_gist ... ok [INFO] [stdout] test cache::update::tests::test_save_and_load_cache ... ok [INFO] [stdout] test cache::update::tests::test_update_differential_with_existing_cache_verbose ... ok [INFO] [stdout] test cache::update::tests::test_updater_new ... ok [INFO] [stdout] test cache::update::tests::test_update_differential_with_mock ... 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_force_verbose_without_existing_cache ... ok [INFO] [stdout] test cli::tests::test_detect_interpreter_from_filename ... 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_multiple_gb ... ok [INFO] [stdout] test cli::tests::test_get_file_extension ... 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] test cli::tests::test_format_bytes_edge_cases ... ok [INFO] [stdout] test cache::update::tests::test_update_gist_modification_verbose ... ok [INFO] [stdout] test cache::update::tests::test_update_with_gist_modification_deletes_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] #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] _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] 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] [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 cli::tests::test_handle_cache_command_clean_no_criteria ... ok [INFO] [stdout] test cli::tests::test_language_to_interpreter ... ok [INFO] [stdout] test cache::update::tests::test_update_with_low_rate_limit_verbose ... ok [INFO] [stdout] test cli::tests::test_handle_cache_command_list_with_cache ... ok [INFO] [stdout] test cli::tests::test_detect_interpreter_from_config ... ok [INFO] [stdout] test cli::tests::test_handle_cache_command_size ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_bash ... ok [INFO] [stdout] test cli::tests::test_handle_cache_command_clean_no_cache ... ok [INFO] [stdout] test cache::update::tests::test_update_with_no_changes ... ok [INFO] [stdout] test cli::tests::test_generate_completions_zsh ... ok [INFO] [stdout] test cli::tests::test_generate_completions_bash ... ok [INFO] [stdout] test cli::tests::test_handle_cache_command_clean_with_orphaned ... ok [INFO] [stdout] test cache::update::tests::test_update_with_rate_limit_warning ... ok [INFO] [stdout] test cli::tests::test_generate_completions_fish ... ok [INFO] [stdout] test cli::tests::test_generate_completions_powershell ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_poetry ... 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_ruby ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_ts_node ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_python ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_bun ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_deno ... ok [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_php ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_none ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_uv ... 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_powershell ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_sh ... ok [INFO] [stdout] test cli::tests::test_run_gist_cache_not_found ... ok [INFO] [stdout] test config::tests::test_config_new ... 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 cli::tests::test_shell_enum_values ... ok [INFO] [stdout] test execution::runner::tests::test_run_options ... 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 config::tests::test_config_default ... ok [INFO] [stdout] test error::tests::test_error_display ... ok [INFO] [stdout] test execution::runner::tests::test_run_options_preview_mode ... ok [INFO] [stdout] test cli::tests::test_parse_interpreter_custom_invalid ... ok [INFO] [stdout] test config::tests::test_legacy_single_interpreter_config ... ok [INFO] [stdout] test execution::runner::tests::test_display_info ... ok [INFO] [stdout] test cli::tests::test_run_gist_no_results ... ok [INFO] [stdout] test cli::tests::test_run_gist_with_description_search ... ok [INFO] [stdout] test execution::runner::tests::test_select_main_file_with_explicit_filename ... ok [INFO] [stdout] test cli::tests::test_run_gist_with_filename_search ... ok [INFO] [stdout] test execution::runner::tests::test_runner_new ... ok [INFO] [stdout] test config::tests::test_ensure_cache_dir ... ok [INFO] [stdout] test github::api::tests::test_check_auth_when_authenticated ... ignored [INFO] [stdout] test execution::runner::tests::test_select_main_file_multiple_files ... ok [INFO] [stdout] test execution::runner::tests::test_runner_with_different_interpreters ... ok [INFO] [stdout] test github::api::tests::test_check_rate_limit ... ignored [INFO] [stdout] test execution::runner::tests::test_select_main_file_by_interpreter ... ok [INFO] [stdout] test config::tests::test_config_persistence ... ok [INFO] [stdout] test github::api::tests::test_api_structure ... ok [INFO] [stdout] test config::tests::test_ensure_download_dir ... ok [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 github::client::tests::test_mock_check_rate_limit ... ok [INFO] [stdout] test config::tests::test_cache_exists ... ok [INFO] [stdout] test execution::runner::tests::test_select_main_file_single_file ... ok [INFO] [stdout] test github::client::tests::test_mock_check_auth_success ... ok [INFO] [stdout] test github::client::tests::test_mock_get_user ... ok [INFO] [stdout] test search::query::tests::test_search_both ... ok [INFO] [stdout] test search::query::tests::test_search_both_filename_only_match ... ok [INFO] [stdout] test search::query::tests::test_search_both_no_description ... ok [INFO] [stdout] test search::query::tests::test_search_by_filename ... 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_empty_gist_list ... ok [INFO] [stdout] test search::query::tests::test_search_by_description ... ok [INFO] [stdout] test search::query::tests::test_search_filename_multiple_files ... ok [INFO] [stdout] test config::tests::test_set_nested_interpreter_config ... ok [INFO] [stdout] test search::query::tests::test_search_mode_auto_detects_id ... ok [INFO] [stdout] test search::query::tests::test_search_mode_auto_with_non_hex ... ok [INFO] [stdout] test search::query::tests::test_search_id_no_match ... ok [INFO] [stdout] test search::query::tests::test_search_both_description_only_match ... ok [INFO] [stdout] test search::query::tests::test_search_mode_auto_with_short_hex ... ok [INFO] [stdout] test github::client::tests::test_mock_fetch_gist_content ... ok [INFO] [stdout] test search::query::tests::test_search_no_results ... ok [INFO] [stdout] test search::query::tests::test_search_both_multiple_matches ... ok [INFO] [stdout] test search::query::tests::test_search_with_auto_mode_id ... ok [INFO] [stdout] test github::client::tests::test_mock_fetch_gists ... ok [INFO] [stdout] test search::query::tests::test_search_with_auto_mode_keyword ... ok [INFO] [stdout] test search::query::tests::test_search_by_description_no_description ... 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 search::query::tests::test_search_by_description_case_insensitive ... ok [INFO] [stdout] test search::query::tests::test_search_mode_auto_detects_both ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gist_cache_rs-8920d6cf8a4577da) [INFO] [stdout] test cache::content::tests::test_delete_gist ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 143 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [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_version ... ok [INFO] [stdout] test test_cache_list_json_format_empty ... ok [INFO] [stdout] test test_completions_bash ... ok [INFO] [stdout] test test_completions_fish ... ok [INFO] [stdout] test test_completions_invalid_shell ... ok [INFO] [stdout] test test_cache_list_empty ... ok [INFO] [stdout] test test_completions_bash_contains_commands ... ok [INFO] [stdout] test test_cli_help ... ok [INFO] [stdout] test test_completions_zsh ... ok [INFO] [stdout] test test_completions_powershell ... ok [INFO] [stdout] test test_completions_zsh_contains_commands ... ok [INFO] [stdout] test test_completions_help ... 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_config_set_get ... ok [INFO] [stdout] test test_run_with_description_flag ... ok [INFO] [stdout] test test_cache_list_json_format ... ok [INFO] [stdout] test test_run_with_filename_flag ... ok [INFO] [stdout] test test_cache_size ... ok [INFO] [stdout] test test_config_show_empty ... ok [INFO] [stdout] test test_config_reset ... ok [INFO] [stdout] test test_config_show_with_content ... ok [INFO] [stdout] test test_update_verbose ... ok [INFO] [stdout] test test_run_without_query ... ok [INFO] [stdout] test test_run_with_id_flag ... ok [INFO] [stdout] test test_update_force ... ok [INFO] [stdout] test test_update_with_progress_display ... ok [INFO] [stdout] test test_update_verbose_without_progress ... ok [INFO] [stdout] test test_update_without_auth ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-0d22cef87eb7700c) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] Hello from Shell! [INFO] [stdout] test test_execute_bash_script ... ok [INFO] [stdout] test test_execute_bun_script ... ok [INFO] [stdout] This script will fail [INFO] [stdout] test test_execute_failing_script ... ok [INFO] [stdout] Hello from Node.js! [INFO] [stdout] test test_execute_node_script ... ok [INFO] [stdout] Hello from Perl! [INFO] [stdout] test test_execute_perl_script ... ok [INFO] [stdout] test test_execute_deno_script ... ok [INFO] [stdout] Hello from PHP! [INFO] [stdout] test test_execute_php_script ... ok [INFO] [stdout] test test_preview_mode_does_not_execute ... ok [INFO] [stdout] Hello from Ruby! [INFO] [stdout] test test_execute_ruby_script ... ok [INFO] [stdout] Arguments: arg1 arg2 [INFO] [stdout] test test_execute_with_arguments ... ok [INFO] [stdout] test test_execute_ts_node_script ... ok [INFO] [stdout] Hello from Python! [INFO] [stdout] test test_execute_python_script ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.09s [INFO] [stdout] [INFO] [stderr] Running tests/runner_test.rs (/opt/rustwide/target/debug/deps/runner_test-d606fe1c5f242d67) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] Hello from Shell! [INFO] [stdout] test test_force_file_based_execution ... ok [INFO] [stdout] Hello from Shell! [INFO] [stdout] test test_multiple_files_gist ... ok [INFO] [stdout] Hello from Shell! [INFO] [stdout] test test_cache_creation_after_execution ... ok [INFO] [stdout] test test_preview_with_download_mode ... ok [INFO] [stdout] Hello from Shell! [INFO] [stdout] test test_download_mode_creates_file ... ok [INFO] [stdout] Hello from Shell! [INFO] [stdout] test test_script_with_empty_arguments ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests gist_cache_rs [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] running `Command { std: "docker" "inspect" "30ded6e0808632766b75154ccde128c9bf7e6e4053ce09d3f326e9d3e45fa125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30ded6e0808632766b75154ccde128c9bf7e6e4053ce09d3f326e9d3e45fa125", kill_on_drop: false }` [INFO] [stdout] 30ded6e0808632766b75154ccde128c9bf7e6e4053ce09d3f326e9d3e45fa125