Skip to content

Commit

Permalink
Update scoop completions (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
JNylson authored Mar 14, 2023
1 parent 0a07924 commit 44937d2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions scoop.lua
Original file line number Diff line number Diff line change
Expand Up @@ -270,15 +270,18 @@ local scoop_help_parser =
"alias",
"bucket",
"cache",
"cat",
"checkup",
"cleanup",
"config",
"create",
"depends",
"download",
"export",
"help",
"home",
"hold",
"import",
"info",
"install",
"list",
Expand Down Expand Up @@ -306,6 +309,7 @@ scoop_parser:set_arguments(
"alias" .. scoop_alias_parser,
"bucket" .. scoop_bucket_parser,
"cache" .. scoop_cache_parser,
"cat" .. parser({scoop_available_apps_list, scoop_apps_list}),
"checkup",
"cleanup" .. scoop_cleanup_parser,
"config" .. scoop_config_parser,
Expand All @@ -316,10 +320,23 @@ scoop_parser:set_arguments(
"--arch" .. parser({"32bit", "64bit"}),
"-a" .. parser({"32bit", "64bit"})
),
"download" ..
parser(
{scoop_available_apps_list},
"--arch" .. parser({"32bit", "64bit"}),
"-a" .. parser({"32bit", "64bit"}),
"--force",
"-f",
"--no-hash-check",
"-h",
"--no-update-scoop",
"-u"
),
"export",
"help" .. scoop_help_parser,
"hold" .. parser({scoop_apps_list}),
"home" .. parser({scoop_available_apps_list, scoop_apps_list}),
"import",
"info" .. parser({scoop_available_apps_list, scoop_apps_list}),
"install" .. scoop_install_parser,
"list",
Expand Down

0 comments on commit 44937d2

Please sign in to comment.