From 0e941fb3604560df12c3da5d24bb96fa5fffc18f Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Tue, 25 Aug 2026 10:01:05 -0600 Subject: [PATCH] feat: complete --filter and --force on the first .install argument The unified install parser accepts flags in any position, so the first-argument completion list now offers all four flags instead of only --git-host and --help. --- src/config/request_context.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/config/request_context.rs b/src/config/request_context.rs index ae4215f..bd04c47 100644 --- a/src/config/request_context.rs +++ b/src/config/request_context.rs @@ -3304,6 +3304,14 @@ impl RequestContext { AssetCategory::NAMES.iter().map(|s| s.to_string()).collect(); names.extend(installed_bundle_names()); let mut values = super::map_completion_values(names); + values.push(( + "--filter".to_string(), + Some("Restrict a remote install to one category".to_string()), + )); + values.push(( + "--force".to_string(), + Some("Overwrite all conflicts without prompting".to_string()), + )); values.push(( "--git-host".to_string(), Some("Host the owner/repo shorthand expands against".to_string()),