fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Shun SakaiAdd completions for .NET58d9fa382

master
48.4 KiB421 linesraw
1# Completions for the .NET CLI tools
2
3set -l build_configurations Debug Release
4set -l msbuild_verbosity_levels q quiet m minimal n normal d detailed diag diagnostic
5
6# Runtime options
7complete -f -c dotnet -n __fish_is_first_arg -l additionalprobingpath -d "Path containing probing policy and assemblies to probe"
8complete -f -c dotnet -n __fish_is_first_arg -l additional-deps -d "Path to additional deps.json"
9complete -f -c dotnet -n __fish_is_first_arg -l depsfile -d "Path to deps.json"
10complete -f -c dotnet -n __fish_is_first_arg -l fx-version -d "Version of the .NET runtime to use"
11complete -x -c dotnet -n __fish_is_first_arg -l roll-forward -a "LatestPatch Minor LatestMinor Major LatestMajor Disable" -d "Roll forward to framework version"
12complete -f -c dotnet -n __fish_is_first_arg -l runtimeconfig -d "Path to runtimeconfig.json"
13
14# SDK options
15complete -f -c dotnet -s d -l diagnostics -d "Enable diagnostic output"
16complete -f -c dotnet -s h -l help -d "Show help"
17complete -f -c dotnet -n __fish_is_first_arg -l info -d "Display .NET information"
18complete -f -c dotnet -n __fish_is_first_arg -l list-runtimes -d "Display the installed runtimes"
19complete -f -c dotnet -n __fish_is_first_arg -l list-sdks -d "Display the installed SDKs"
20complete -f -c dotnet -n __fish_is_first_arg -l version -d "Display .NET SDK version"
21
22# SDK commands
23complete -f -c dotnet -n __fish_use_subcommand -a add -d "Add a package/reference"
24complete -f -c dotnet -n __fish_use_subcommand -a build -d "Build a .NET project"
25complete -f -c dotnet -n __fish_use_subcommand -a build-server -d "Interact with build servers"
26complete -f -c dotnet -n __fish_use_subcommand -a clean -d "Clean build outputs"
27complete -f -c dotnet -n __fish_use_subcommand -a help -d "Show help"
28complete -f -c dotnet -n __fish_use_subcommand -a list -d "List project references"
29complete -f -c dotnet -n __fish_use_subcommand -a msbuild -d "Run MSBuild commands"
30complete -f -c dotnet -n __fish_use_subcommand -a new -d "Create a new .NET project"
31complete -f -c dotnet -n __fish_use_subcommand -a nuget -d "Run additional NuGet commands"
32complete -f -c dotnet -n __fish_use_subcommand -a pack -d "Create a NuGet package"
33complete -f -c dotnet -n __fish_use_subcommand -a publish -d "Publish a .NET project for deployment"
34complete -f -c dotnet -n __fish_use_subcommand -a remove -d "Remove a package/reference"
35complete -f -c dotnet -n __fish_use_subcommand -a restore -d "Restore dependencies"
36complete -f -c dotnet -n __fish_use_subcommand -a run -d "Run the application from source"
37complete -f -c dotnet -n __fish_use_subcommand -a sln -d "Modify Visual Studio solution files"
38complete -f -c dotnet -n __fish_use_subcommand -a store -d "Store assemblies"
39complete -f -c dotnet -n __fish_use_subcommand -a test -d "Run unit tests"
40complete -f -c dotnet -n __fish_use_subcommand -a tool -d "Manage .NET tool"
41complete -f -c dotnet -n __fish_use_subcommand -a vstest -d "Run VSTest commands"
42
43# Project commands
44set -l project_commands package reference
45## package
46complete -f -c dotnet -n "__fish_seen_subcommand_from add && not __fish_seen_subcommand_from $project_commands nuget sln" -a package -d "Add a NuGet package reference"
47complete -f -c dotnet -n "__fish_seen_subcommand_from list && not __fish_seen_subcommand_from $project_commands nuget sln tool" -a package -d "List all package references"
48complete -f -c dotnet -n "__fish_seen_subcommand_from remove && not __fish_seen_subcommand_from $project_commands nuget sln" -a package -d "Remove a NuGet package reference"
49## reference
50complete -f -c dotnet -n "__fish_seen_subcommand_from add && not __fish_seen_subcommand_from $project_commands nuget sln" -a reference -d "Add a P2P reference"
51complete -f -c dotnet -n "__fish_seen_subcommand_from list && not __fish_seen_subcommand_from $project_commands nuget sln tool" -a reference -d "List all P2P references"
52complete -f -c dotnet -n "__fish_seen_subcommand_from remove && not __fish_seen_subcommand_from $project_commands nuget sln" -a reference -d "Remove a P2P reference"
53
54# NuGet commands
55set -l nuget_commands add delete disable enable list locals push remove update verify
56## add
57complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && not __fish_seen_subcommand_from $nuget_commands" -a add -d "Add a NuGet source"
58complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && not __fish_seen_subcommand_from client-cert source" -a client-cert -d "Add a client certificate configuration"
59complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && not __fish_seen_subcommand_from client-cert source" -a source -d "Add a NuGet source"
60## delete
61complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && not __fish_seen_subcommand_from $nuget_commands" -a delete -d "Delete a package from the server"
62## disable
63complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && not __fish_seen_subcommand_from $nuget_commands" -a disable -d "Disable a NuGet source"
64complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from disable && not __fish_seen_subcommand_from source" -a source -d "Disable a NuGet source"
65## enable
66complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && not __fish_seen_subcommand_from $nuget_commands" -a enable -d "Enable a NuGet source"
67complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from enable && not __fish_seen_subcommand_from source" -a source -d "Enable a NuGet source"
68## list
69complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && not __fish_seen_subcommand_from $nuget_commands" -a list -d "List configured NuGet sources"
70complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from list && not __fish_seen_subcommand_from client-cert source" -a client-cert -d "List all the client certificates in the configuration"
71complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from list && not __fish_seen_subcommand_from client-cert source" -a source -d "List all configured NuGet sources"
72## locals
73complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && not __fish_seen_subcommand_from $nuget_commands" -a locals -d "Clear/List local NuGet resources"
74## push
75complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && not __fish_seen_subcommand_from $nuget_commands" -a push -d "Push a package to the server"
76## remove
77complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && not __fish_seen_subcommand_from $nuget_commands" -a remove -d "Remove a NuGet source"
78complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from remove && not __fish_seen_subcommand_from client-cert source" -a client-cert -d "Remove the client certificate configuration"
79complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from remove && not __fish_seen_subcommand_from client-cert source" -a source -d "Remove a NuGet source"
80## update
81complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && not __fish_seen_subcommand_from $nuget_commands" -a update -d "Update a NuGet source"
82complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && not __fish_seen_subcommand_from client-cert source" -a client-cert -d "Update the client certificate configuration"
83complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && not __fish_seen_subcommand_from client-cert source" -a source -d "Update a NuGet source"
84## verify
85complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && not __fish_seen_subcommand_from $nuget_commands" -a verify -d "Verify a signed NuGet package"
86
87# .NET tool commands
88set -l tool_commands install uninstall update list run search restore
89complete -f -c dotnet -n "__fish_seen_subcommand_from tool && not __fish_seen_subcommand_from $tool_commands" -a install -d "Install global/local tool"
90complete -f -c dotnet -n "__fish_seen_subcommand_from tool && not __fish_seen_subcommand_from $tool_commands" -a uninstall -d "Uninstall a global/local tool"
91complete -f -c dotnet -n "__fish_seen_subcommand_from tool && not __fish_seen_subcommand_from $tool_commands" -a update -d "Update a global tool"
92complete -f -c dotnet -n "__fish_seen_subcommand_from tool && not __fish_seen_subcommand_from $tool_commands" -a list -d "List tools installed globally/locally"
93complete -f -c dotnet -n "__fish_seen_subcommand_from tool && not __fish_seen_subcommand_from $tool_commands" -a run -d "Run local tool"
94complete -f -c dotnet -n "__fish_seen_subcommand_from tool && not __fish_seen_subcommand_from $tool_commands" -a search -d "Search .NET tools in NuGet.org"
95complete -f -c dotnet -n "__fish_seen_subcommand_from tool && not __fish_seen_subcommand_from $tool_commands" -a restore -d "Restore tools defined in the local tool manifest"
96
97# add options
98## package command
99complete -x -c dotnet -n "__fish_seen_subcommand_from add && __fish_seen_subcommand_from package" -s v -l version -d "Version of the package to add"
100complete -x -c dotnet -n "__fish_seen_subcommand_from add && __fish_seen_subcommand_from package" -s f -l framework -d "Add the reference only when targeting a specific framework"
101complete -f -c dotnet -n "__fish_seen_subcommand_from add && __fish_seen_subcommand_from package" -s n -l no-restore -d "Add the reference without performing restore preview and compatibility check"
102complete -f -c dotnet -n "__fish_seen_subcommand_from add && __fish_seen_subcommand_from package" -s s -l source -d "NuGet package source to use during the restore"
103complete -f -c dotnet -n "__fish_seen_subcommand_from add && __fish_seen_subcommand_from package" -l package-directory -d "Directory to restore packages"
104complete -f -c dotnet -n "__fish_seen_subcommand_from add && __fish_seen_subcommand_from package" -l interactive -d "Allow interactive input/action"
105complete -f -c dotnet -n "__fish_seen_subcommand_from add && __fish_seen_subcommand_from package" -l prerelease -d "Allow prerelease packages to be installed"
106## reference command
107complete -x -c dotnet -n "__fish_seen_subcommand_from add && __fish_seen_subcommand_from reference" -s f -l framework -d "Add the reference only when targeting a specific framework"
108complete -f -c dotnet -n "__fish_seen_subcommand_from add && __fish_seen_subcommand_from reference" -l interactive -d "Allow interactive input/action"
109
110# build options
111complete -f -c dotnet -n "__fish_seen_subcommand_from build" -s o -l output -d "Output directory to place built artifacts"
112complete -x -c dotnet -n "__fish_seen_subcommand_from build" -s f -l framework -d "Target framework to build"
113complete -x -c dotnet -n "__fish_seen_subcommand_from build" -s c -l configuration -a "$build_configurations" -d "Configuration to use"
114complete -x -c dotnet -n "__fish_seen_subcommand_from build" -s r -l runtime -d "Target runtime to build"
115complete -x -c dotnet -n "__fish_seen_subcommand_from build" -l version-suffix -d "Set the value of the \$(VersionSuffix) property to use"
116complete -f -c dotnet -n "__fish_seen_subcommand_from build" -l no-incremental -d "Don't use incremental building"
117complete -f -c dotnet -n "__fish_seen_subcommand_from build" -l no-dependencies -d "Don't build P2P references"
118complete -f -c dotnet -n "__fish_seen_subcommand_from build" -l nologo -d "Don't display the startup banner or the copyright message"
119complete -f -c dotnet -n "__fish_seen_subcommand_from build" -l no-restore -d "Don't restore the project before building"
120complete -f -c dotnet -n "__fish_seen_subcommand_from build" -l interactive -d "Allow interactive input/action"
121complete -x -c dotnet -n "__fish_seen_subcommand_from build" -s v -l verbosity -a "$msbuild_verbosity_levels" -d "Set the MSBuild verbosity level"
122complete -f -c dotnet -n "__fish_seen_subcommand_from build" -l force -d "Force all dependencies to be resolved"
123
124# build-server commands and options
125## Command
126complete -f -c dotnet -n "__fish_seen_subcommand_from build-server && not __fish_seen_subcommand_from shutdown" -a shutdown -d "Shutdown build servers"
127## Options
128complete -f -c dotnet -n "__fish_seen_subcommand_from build-server && __fish_seen_subcommand_from shutdown" -l msbuild -d "Shutdown the MSBuild build server"
129complete -f -c dotnet -n "__fish_seen_subcommand_from build-server && __fish_seen_subcommand_from shutdown" -l vbcscompiler -d "Shutdown the VB/C# compiler build server"
130complete -f -c dotnet -n "__fish_seen_subcommand_from build-server && __fish_seen_subcommand_from shutdown" -l razor -d "Shutdown the Razor build server"
131
132# clean options
133complete -f -c dotnet -n "__fish_seen_subcommand_from clean" -s o -l output -d "Directory containing the build artifacts to clean"
134complete -f -c dotnet -n "__fish_seen_subcommand_from clean" -l nologo -d "Don't display the startup banner or the copyright message"
135complete -x -c dotnet -n "__fish_seen_subcommand_from clean" -s f -l framework -d "Target framework to clean"
136complete -x -c dotnet -n "__fish_seen_subcommand_from clean" -s r -l runtime -d "Target runtime to clean"
137complete -x -c dotnet -n "__fish_seen_subcommand_from clean" -s c -l configuration -a "$build_configurations" -d "Configuration to clean"
138complete -f -c dotnet -n "__fish_seen_subcommand_from clean" -l interactive -d "Allow interactive input/action"
139complete -x -c dotnet -n "__fish_seen_subcommand_from clean" -s v -l verbosity -a "$msbuild_verbosity_levels" -d "Set the MSBuild verbosity level"
140
141# list options
142complete -f -c dotnet -n "__fish_seen_subcommand_from list && __fish_seen_subcommand_from package" -l outdated -d "List packages that have newer versions"
143complete -f -c dotnet -n "__fish_seen_subcommand_from list && __fish_seen_subcommand_from package" -l deprecated -d "List packages that have been deprecated"
144complete -x -c dotnet -n "__fish_seen_subcommand_from list && __fish_seen_subcommand_from package" -l framework -d "Choose a framework to show its packages"
145complete -f -c dotnet -n "__fish_seen_subcommand_from list && __fish_seen_subcommand_from package" -l include-transitive -d "List transitive and top-level packages"
146complete -f -c dotnet -n "__fish_seen_subcommand_from list && __fish_seen_subcommand_from package" -l include-prerelease -d "Consider packages with prerelease versions"
147complete -f -c dotnet -n "__fish_seen_subcommand_from list && __fish_seen_subcommand_from package" -l highest-patch -d "Consider only the packages with a matching major and minor version numbers"
148complete -f -c dotnet -n "__fish_seen_subcommand_from list && __fish_seen_subcommand_from package" -l highest-minor -d "Consider only the packages with a matching major version number"
149complete -f -c dotnet -n "__fish_seen_subcommand_from list && __fish_seen_subcommand_from package" -l config -d "Path to the NuGet config file to use"
150complete -f -c dotnet -n "__fish_seen_subcommand_from list && __fish_seen_subcommand_from package" -l source -d "NuGet sources to use"
151complete -f -c dotnet -n "__fish_seen_subcommand_from list && __fish_seen_subcommand_from package" -l interactive -d "Allow interactive input/action"
152complete -x -c dotnet -n "__fish_seen_subcommand_from list && __fish_seen_subcommand_from package" -s v -l verbosity -a "$msbuild_verbosity_levels" -d "Set the MSBuild verbosity level"
153
154# new options
155complete -f -c dotnet -n "__fish_seen_subcommand_from new" -s l -l list -d "List templates containing the specified name"
156complete -f -c dotnet -n "__fish_seen_subcommand_from new" -s n -l name -d "Name for the output being created"
157complete -f -c dotnet -n "__fish_seen_subcommand_from new" -s o -l output -d "Location to place the generated output"
158complete -f -c dotnet -n "__fish_seen_subcommand_from new" -s i -l install -d "Install a template pack"
159complete -f -c dotnet -n "__fish_seen_subcommand_from new" -s u -l uninstall -d "Uninstall a template pack"
160complete -f -c dotnet -n "__fish_seen_subcommand_from new" -l interactive -d "Allow interactive input/action"
161complete -f -c dotnet -n "__fish_seen_subcommand_from new" -l nuget-source -d "Specify a NuGet source to use during install"
162complete -x -c dotnet -n "__fish_seen_subcommand_from new" -l type -a "project item" -d "Filter templates based on available types"
163complete -f -c dotnet -n "__fish_seen_subcommand_from new" -l dry-run -d "Dry run"
164complete -f -c dotnet -n "__fish_seen_subcommand_from new" -l force -d "Force content to be generated"
165complete -x -c dotnet -n "__fish_seen_subcommand_from new" -o lang -l language -a "C# F# VB" -d "Language of the template to create"
166complete -f -c dotnet -n "__fish_seen_subcommand_from new" -l update-check -d "Check the currently installed template packs for updates"
167complete -f -c dotnet -n "__fish_seen_subcommand_from new" -l update-apply -d "Check the currently installed template packs for updates and installs them"
168
169# nuget options
170complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && not __fish_seen_subcommand_from $nuget_commands" -l version -d "Show version"
171## add command
172### client-cert command
173complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && __fish_seen_subcommand_from client-cert" -s s -l package-source -d "Package source name"
174complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && __fish_seen_subcommand_from client-cert" -l path -d "Path to certificate file"
175complete -x -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && __fish_seen_subcommand_from client-cert" -l password -d "Password for the certificate"
176complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && __fish_seen_subcommand_from client-cert" -l store-password-in-clear-text -d "Enable storing password for the certificate"
177complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && __fish_seen_subcommand_from client-cert" -l store-location -d "Certificate store location"
178complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && __fish_seen_subcommand_from client-cert" -l store-name -d "Certificate store name"
179complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && __fish_seen_subcommand_from client-cert" -l find-by -d "Search method to find certificate in certificate store"
180complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && __fish_seen_subcommand_from client-cert" -l find-value -d "Search the certificate store for the supplied value"
181complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && __fish_seen_subcommand_from client-cert" -s f -l force -d "Skip certificate validation"
182complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && __fish_seen_subcommand_from client-cert" -l configfile -d "NuGet configuration file"
183### source command
184complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && __fish_seen_subcommand_from source" -s n -l name -d "Name of the source"
185complete -x -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && __fish_seen_subcommand_from source" -s u -l username -d "Username to be used"
186complete -x -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && __fish_seen_subcommand_from source" -s p -l password -d "Password to be used"
187complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && __fish_seen_subcommand_from source" -l store-password-in-clear-text -d "Enable storing portable package source credentials"
188complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && __fish_seen_subcommand_from source" -l valid-authentication-types -d "Comma-separated list of valid authentication types"
189complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from add && __fish_seen_subcommand_from source" -l configfile -d "NuGet configuration file"
190## delete command
191complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from delete" -l force-english-output -d "Run the application with locale set to English"
192complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from delete" -s s -l source -d "Package source to use"
193complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from delete" -l non-interactive -d "Don't prompt for user input or confirmations"
194complete -x -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from delete" -s k -l api-key -d "API key for the server"
195complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from delete" -l no-service-endpoint -d "Doesn't append \"api/v2/package\" to the source URL"
196complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from delete" -l interactive -d "Allow interactive input/action"
197## disable command
198complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from disable && __fish_seen_subcommand_from source" -l configfile -d "NuGet configuration file"
199## enable command
200complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from enable && __fish_seen_subcommand_from source" -l configfile -d "NuGet configuration file"
201## list command
202### client-cert command
203complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from list && __fish_seen_subcommand_from client-cert" -l configfile -d "NuGet configuration file"
204### source command
205complete -x -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from list && __fish_seen_subcommand_from source" -l format -d "Format of the list command output"
206complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from list && __fish_seen_subcommand_from source" -l configfile -d "NuGet configuration file"
207## locals command
208complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from locals" -l force-english-output -d "Run the application with locale set to English"
209complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from locals" -s c -l clear -d "Clear the selected local resources or cache location"
210complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from locals" -s l -l list -d "List the selected local resources or cache location"
211## push command
212complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from push" -l force-english-output -d "Run the application with locale set to English"
213complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from push" -s s -l source -d "Package source to use"
214complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from push" -o ss -l symbol-source -d "Symbol server URL to use"
215complete -x -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from push" -s t -l timeout -d "Timeout for pushing to a server"
216complete -x -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from push" -s k -l api-key -d "API key for the server"
217complete -x -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from push" -o sk -l symbol-api-key -d "API key for the symbol server"
218complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from push" -s d -l disable-buffering -d "Disable buffering when pushing to an HTTP server"
219complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from push" -s n -l no-symbols -d "Doesn't push symbols"
220complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from push" -l no-service-endpoint -d "Doesn't append \"api/v2/package\" to the source URL"
221complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from push" -l interactive -d "Allow interactive input/action"
222complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from push" -l skip-duplicate -d "Treat any 409 Conflict response as a warning"
223## remove command
224### client-cert command
225complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from remove && __fish_seen_subcommand_from client-cert" -s s -l package-source -d "Package source name"
226complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from remove && __fish_seen_subcommand_from client-cert" -l configfile -d "NuGet configuration file"
227### source command
228complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from remove && __fish_seen_subcommand_from source" -l configfile -d "NuGet configuration file"
229## update command
230### client-cert command
231complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && __fish_seen_subcommand_from client-cert" -s s -l package-source -d "Package source name"
232complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && __fish_seen_subcommand_from client-cert" -l path -d "Path to certificate file"
233complete -x -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && __fish_seen_subcommand_from client-cert" -l password -d "Password for the certificate"
234complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && __fish_seen_subcommand_from client-cert" -l store-password-in-clear-text -d "Enable storing password for the certificate"
235complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && __fish_seen_subcommand_from client-cert" -l store-location -d "Certificate store location"
236complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && __fish_seen_subcommand_from client-cert" -l store-name -d "Certificate store name"
237complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && __fish_seen_subcommand_from client-cert" -l find-by -d "Search method to find certificate in certificate store"
238complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && __fish_seen_subcommand_from client-cert" -l find-value -d "Search the certificate store for the supplied value"
239complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && __fish_seen_subcommand_from client-cert" -s f -l force -d "Skip certificate validation"
240complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && __fish_seen_subcommand_from client-cert" -l configfile -d "NuGet configuration file"
241### source command
242complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && __fish_seen_subcommand_from source" -s s -l source -d "Path to the package source"
243complete -x -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && __fish_seen_subcommand_from source" -s u -l username -d "Username to be used"
244complete -x -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && __fish_seen_subcommand_from source" -s p -l password -d "Password to be used"
245complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && __fish_seen_subcommand_from source" -l store-password-in-clear-text -d "Enable storing portable package source credentials"
246complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && __fish_seen_subcommand_from source" -l valid-authentication-types -d "Comma-separated list of valid authentication types"
247complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from update && __fish_seen_subcommand_from source" -l configfile -d "NuGet configuration file"
248## verify command
249complete -f -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from verify" -l all -d "Specify that all verifications possible should be performed"
250complete -x -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from verify" -l certificate-fingerprint -d "Verify that the certificate matches with the fingerprints"
251complete -x -c dotnet -n "__fish_seen_subcommand_from nuget && __fish_seen_subcommand_from verify" -s v -l verbosity -a "$msbuild_verbosity_levels" -d "Set the verbosity level"
252
253# pack options
254complete -f -c dotnet -n "__fish_seen_subcommand_from pack" -s o -l output -d "Output directory to place built packages"
255complete -f -c dotnet -n "__fish_seen_subcommand_from pack" -l no-build -d "Don't build the project before packing"
256complete -f -c dotnet -n "__fish_seen_subcommand_from pack" -l include-symbols -d "Include packages with symbols in output directory"
257complete -f -c dotnet -n "__fish_seen_subcommand_from pack" -l include-source -d "Include PDBs and source files"
258complete -x -c dotnet -n "__fish_seen_subcommand_from pack" -s c -l configuration -a "$build_configurations" -d "Configuration to use"
259complete -x -c dotnet -n "__fish_seen_subcommand_from pack" -l version-suffix -d "Set the value of the \$(VersionSuffix) property to use"
260complete -f -c dotnet -n "__fish_seen_subcommand_from pack" -s s -l serviceable -d "Set the serviceable flag in the package"
261complete -f -c dotnet -n "__fish_seen_subcommand_from pack" -l nologo -d "Don't display the startup banner or the copyright message"
262complete -f -c dotnet -n "__fish_seen_subcommand_from pack" -l interactive -d "Allow interactive input/action"
263complete -f -c dotnet -n "__fish_seen_subcommand_from pack" -l no-restore -d "Don't restore the project before building"
264complete -f -c dotnet -n "__fish_seen_subcommand_from pack" -s v -l verbosity -a "$msbuild_verbosity_levels" -d "Set the MSBuild verbosity level"
265complete -x -c dotnet -n "__fish_seen_subcommand_from pack" -l runtime -d "Target runtime to restore packages"
266complete -f -c dotnet -n "__fish_seen_subcommand_from pack" -l no-dependencies -d "Don't build P2P references"
267complete -f -c dotnet -n "__fish_seen_subcommand_from pack" -l force -d "Force all dependencies to be resolved"
268
269# publish options
270complete -f -c dotnet -n "__fish_seen_subcommand_from publish" -s o -l output -d "Output directory to place the published artifacts"
271complete -x -c dotnet -n "__fish_seen_subcommand_from publish" -s f -l framework -d "Target framework to publish"
272complete -x -c dotnet -n "__fish_seen_subcommand_from publish" -s r -l runtime -d "Target runtime to publish"
273complete -x -c dotnet -n "__fish_seen_subcommand_from publish" -s c -l configuration -a "$build_configurations" -d "Configuration to publish"
274complete -x -c dotnet -n "__fish_seen_subcommand_from publish" -l version-suffix -d "Set the value of the \$(VersionSuffix) property to use"
275complete -f -c dotnet -n "__fish_seen_subcommand_from publish" -l manifest -d "Path to a target manifest file"
276complete -f -c dotnet -n "__fish_seen_subcommand_from publish" -l no-build -d "Don't build the project before publishing"
277complete -x -c dotnet -n "__fish_seen_subcommand_from publish" -l self-contained -d "Publish the .NET runtime with your application"
278complete -f -c dotnet -n "__fish_seen_subcommand_from publish" -l no-self-contained -d "Publish your application as a framework dependent application"
279complete -f -c dotnet -n "__fish_seen_subcommand_from publish" -l nologo -d "Don't display the startup banner or the copyright message"
280complete -f -c dotnet -n "__fish_seen_subcommand_from publish" -l interactive -d "Allow interactive input/action"
281complete -f -c dotnet -n "__fish_seen_subcommand_from publish" -l no-restore -d "Don't restore the project before building"
282complete -x -c dotnet -n "__fish_seen_subcommand_from publish" -s v -l verbosity -a "$msbuild_verbosity_levels" -d "Set the MSBuild verbosity level"
283complete -f -c dotnet -n "__fish_seen_subcommand_from publish" -l no-dependencies -d "Don't restore P2P references"
284complete -f -c dotnet -n "__fish_seen_subcommand_from publish" -l force -d "Force all dependencies to be resolved"
285
286# remove options
287## package command
288complete -f -c dotnet -n "__fish_seen_subcommand_from remove && __fish_seen_subcommand_from package" -l interactive -d "Allow interactive input/action"
289## reference command
290complete -x -c dotnet -n "__fish_seen_subcommand_from remove && __fish_seen_subcommand_from reference" -s f -l framework -d "Remove the reference only when targeting a specific framework"
291
292# restore options
293complete -f -c dotnet -n "__fish_seen_subcommand_from restore && not __fish_seen_subcommand_from tool" -s s -l source -d "NuGet package source to use for the restore"
294complete -x -c dotnet -n "__fish_seen_subcommand_from restore && not __fish_seen_subcommand_from tool" -s r -l runtime -d "Target runtime to restore packages"
295complete -f -c dotnet -n "__fish_seen_subcommand_from restore && not __fish_seen_subcommand_from tool" -l packages -d "Directory to restore packages"
296complete -f -c dotnet -n "__fish_seen_subcommand_from restore && not __fish_seen_subcommand_from tool" -l disable-parallel -d "Prevent restoring multiple projects in parallel"
297complete -f -c dotnet -n "__fish_seen_subcommand_from restore && not __fish_seen_subcommand_from tool" -l configfile -d "NuGet configuration file to use"
298complete -f -c dotnet -n "__fish_seen_subcommand_from restore && not __fish_seen_subcommand_from tool" -l no-cache -d "Don't cache packages and HTTP requests"
299complete -f -c dotnet -n "__fish_seen_subcommand_from restore && not __fish_seen_subcommand_from tool" -l ignore-failed-sources -d "Treat package source failures as warnings"
300complete -f -c dotnet -n "__fish_seen_subcommand_from restore && not __fish_seen_subcommand_from tool" -l no-dependencies -d "Don't restore P2P references"
301complete -f -c dotnet -n "__fish_seen_subcommand_from restore && not __fish_seen_subcommand_from tool" -s f -l force -d "Force all dependencies to be resolved"
302complete -x -c dotnet -n "__fish_seen_subcommand_from restore && not __fish_seen_subcommand_from tool" -s v -l verbosity -a "$msbuild_verbosity_levels" -d "Set the MSBuild verbosity level"
303complete -f -c dotnet -n "__fish_seen_subcommand_from restore && not __fish_seen_subcommand_from tool" -l interactive -d "Allow interactive input/action"
304complete -f -c dotnet -n "__fish_seen_subcommand_from restore && not __fish_seen_subcommand_from tool" -l use-lock-file -d "Enable project lock file to be generated"
305complete -f -c dotnet -n "__fish_seen_subcommand_from restore && not __fish_seen_subcommand_from tool" -l locked-mode -d "Don't allow updating project lock file"
306complete -f -c dotnet -n "__fish_seen_subcommand_from restore && not __fish_seen_subcommand_from tool" -l lock-file-path -d "Output location where project lock file is written"
307complete -f -c dotnet -n "__fish_seen_subcommand_from restore && not __fish_seen_subcommand_from tool" -l force-evaluate -d "Force restore to reevaluate all dependencies"
308
309# run options
310complete -x -c dotnet -n "__fish_seen_subcommand_from run && not __fish_seen_subcommand_from tool" -s c -l configuration -a "$build_configurations" -d "Configuration to run"
311complete -x -c dotnet -n "__fish_seen_subcommand_from run && not __fish_seen_subcommand_from tool" -s f -l framework -d "Target framework to run"
312complete -x -c dotnet -n "__fish_seen_subcommand_from run && not __fish_seen_subcommand_from tool" -s r -l runtime -d "Target runtime to run"
313complete -f -c dotnet -n "__fish_seen_subcommand_from run && not __fish_seen_subcommand_from tool" -s p -l project -d "Path to the project file to run"
314complete -x -c dotnet -n "__fish_seen_subcommand_from run && not __fish_seen_subcommand_from tool" -l launch-profile -d "Name of the launch profile to use"
315complete -f -c dotnet -n "__fish_seen_subcommand_from run && not __fish_seen_subcommand_from tool" -l no-launch-profile -d "Don't attempt to use launchSettings.json"
316complete -f -c dotnet -n "__fish_seen_subcommand_from run && not __fish_seen_subcommand_from tool" -l no-build -d "Don't build the project before running"
317complete -f -c dotnet -n "__fish_seen_subcommand_from run && not __fish_seen_subcommand_from tool" -l interactive -d "Allow interactive input/action"
318complete -f -c dotnet -n "__fish_seen_subcommand_from run && not __fish_seen_subcommand_from tool" -l no-restore -d "Don't restore the project before building"
319complete -x -c dotnet -n "__fish_seen_subcommand_from run && not __fish_seen_subcommand_from tool" -s v -l verbosity -a "$msbuild_verbosity_levels" -d "Set the MSBuild verbosity level"
320complete -f -c dotnet -n "__fish_seen_subcommand_from run && not __fish_seen_subcommand_from tool" -l no-dependencies -d "Don't restore P2P references"
321complete -f -c dotnet -n "__fish_seen_subcommand_from run && not __fish_seen_subcommand_from tool" -l force -d "Force all dependencies to be resolved"
322
323# sln commands and options
324## Commands
325set -l sln_commands add list remove
326complete -f -c dotnet -n "__fish_seen_subcommand_from sln && not __fish_seen_subcommand_from $sln_commands" -a add -d "Add one/more projects to a solution file"
327complete -f -c dotnet -n "__fish_seen_subcommand_from sln && not __fish_seen_subcommand_from $sln_commands" -a list -d "List all projects in a solution file"
328complete -f -c dotnet -n "__fish_seen_subcommand_from sln && not __fish_seen_subcommand_from $sln_commands" -a remove -d "Remove one/more projects from a solution file"
329## Options
330complete -f -c dotnet -n "__fish_seen_subcommand_from sln && __fish_seen_subcommand_from add" -l in-root -d "Place project in root of the solution"
331complete -f -c dotnet -n "__fish_seen_subcommand_from sln && __fish_seen_subcommand_from add" -s s -l solution-folder -d "Destination solution folder path to add the projects"
332
333# store options
334complete -f -c dotnet -n "__fish_seen_subcommand_from store" -s m -l manifest -d "XML file that contains the list of packages to be stored"
335complete -x -c dotnet -n "__fish_seen_subcommand_from store" -s f -l framework -d "Target framework to store packages"
336complete -x -c dotnet -n "__fish_seen_subcommand_from store" -l framework-version -d "Specify the .NET SDK version"
337complete -x -c dotnet -n "__fish_seen_subcommand_from store" -s r -l runtime -d "Target runtime to store packages"
338complete -f -c dotnet -n "__fish_seen_subcommand_from store" -s o -l output -d "Output directory to store the given assemblies"
339complete -f -c dotnet -n "__fish_seen_subcommand_from store" -s w -l working-dir -d "Working directory used by the command"
340complete -f -c dotnet -n "__fish_seen_subcommand_from store" -l skip-optimization -d "Skip the optimization phase"
341complete -f -c dotnet -n "__fish_seen_subcommand_from store" -l skip-symbols -d "Skip creating symbol files"
342complete -x -c dotnet -n "__fish_seen_subcommand_from store" -s v -l verbosity -a "$msbuild_verbosity_levels" -d "Set the MSBuild verbosity level"
343
344# test options
345complete -f -c dotnet -n "__fish_seen_subcommand_from test" -s s -l settings -d "Settings file to use"
346complete -f -c dotnet -n "__fish_seen_subcommand_from test" -s t -l list-tests -d "List the discovered tests"
347complete -x -c dotnet -n "__fish_seen_subcommand_from test" -l filter -d "Run tests that match the given expression"
348complete -f -c dotnet -n "__fish_seen_subcommand_from test" -s a -l test-adapter-path -d "Path to the custom adapters to use"
349complete -x -c dotnet -n "__fish_seen_subcommand_from test" -s l -l logger -d "Logger to use for test results"
350complete -x -c dotnet -n "__fish_seen_subcommand_from test" -s c -l configuration -a "$build_configurations" -d "Configuration to use"
351complete -x -c dotnet -n "__fish_seen_subcommand_from test" -s f -l framework -d "Target framework to run tests"
352complete -x -c dotnet -n "__fish_seen_subcommand_from test" -l runtime -d "Target runtime to test"
353complete -f -c dotnet -n "__fish_seen_subcommand_from test" -s o -l output -d "Output directory to place built artifacts"
354complete -f -c dotnet -n "__fish_seen_subcommand_from test" -s d -l diag -d "Enable verbose logging to the specified file"
355complete -f -c dotnet -n "__fish_seen_subcommand_from test" -l no-build -d "Don't build the project before testing"
356complete -f -c dotnet -n "__fish_seen_subcommand_from test" -s r -l results-directory -d "Directory where the test results will be placed"
357complete -x -c dotnet -n "__fish_seen_subcommand_from test" -l collect -d "Enable data collector for the test run"
358complete -f -c dotnet -n "__fish_seen_subcommand_from test" -l blame -d "Run the tests in blame mode"
359complete -f -c dotnet -n "__fish_seen_subcommand_from test" -l blame-crash -d "Run the tests in blame mode and enables collecting crash dump"
360complete -x -c dotnet -n "__fish_seen_subcommand_from test" -l blame-crash-dump-type -d "Type of crash dump to be collected"
361complete -f -c dotnet -n "__fish_seen_subcommand_from test" -l blame-crash-collect-always -d "Enable collecting crash dump on expected"
362complete -f -c dotnet -n "__fish_seen_subcommand_from test" -l blame-hang -d "Run the tests in blame mode and enables collecting hang dump"
363complete -x -c dotnet -n "__fish_seen_subcommand_from test" -l blame-hang-dump-type -d "Type of crash dump to be collected"
364complete -x -c dotnet -n "__fish_seen_subcommand_from test" -l blame-hang-timeout -d "Per-test timeout"
365complete -f -c dotnet -n "__fish_seen_subcommand_from test" -l nologo -d "Run tests without displaying the Microsoft TestPlatform banner"
366complete -f -c dotnet -n "__fish_seen_subcommand_from test" -l no-restore -d "Don't restore the project before building"
367complete -f -c dotnet -n "__fish_seen_subcommand_from test" -l interactive -d "Allow interactive input/action"
368complete -x -c dotnet -n "__fish_seen_subcommand_from test" -s v -l verbosity -a "$msbuild_verbosity_levels" -d "Set the MSBuild verbosity level"
369
370# tool options
371## install command
372complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from install" -s g -l global -d "Specify that the installation is user-wide"
373complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from install" -l local -d "Specify a local tool installation"
374complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from install" -l tool-path -d "Directory where the tool will be installed"
375complete -x -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from install" -l version -d "Version of the tool to install"
376complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from install" -l configfile -d "NuGet configuration file to use"
377complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from install" -l tool-manifest -d "Path to the manifest file"
378complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from install" -l add-source -d "Add an additional NuGet package source to use during installation"
379complete -x -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from install" -l framework -d "Target framework to install the tool"
380complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from install" -l disable-parallel -d "Prevent restoring multiple projects in parallel"
381complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from install" -l ignore-failed-sources -d "Treat package source failures as warnings"
382complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from install" -l no-cache -d "Don't cache packages and HTTP requests"
383complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from install" -l interactive -d "Allow interactive input/action"
384complete -x -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from install" -s v -l verbosity -a "$msbuild_verbosity_levels" -d "Set the MSBuild verbosity level"
385## uninstall command
386complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from uninstall" -s g -l global -d "Specify that the tool to be removed is from a user-wide installation"
387complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from uninstall" -l local -d "Specify that the tool to be removed is a local tool"
388complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from uninstall" -l tool-path -d "Directory containing the tool to uninstall"
389complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from uninstall" -l tool-manifest -d "Path to the manifest file"
390## update command
391complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from update" -s g -l global -d "Specify that the update is for a user-wide tool"
392complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from update" -l tool-path -d "Directory containing the tool to update"
393complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from update" -l local -d "Specify that the tool to be updated is a local tool"
394complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from update" -l configfile -d "NuGet configuration file to use"
395complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from update" -l add-source -d "Add an additional NuGet package source to use during the update"
396complete -x -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from update" -l framework -d "Target framework to update the tool"
397complete -x -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from update" -l version -d "Version range of the tool package to update"
398complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from update" -l tool-manifest -d "Path to the manifest file"
399complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from update" -l disable-parallel -d "Prevent restoring multiple projects in parallel"
400complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from update" -l ignore-failed-sources -d "Treat package source failures as warnings"
401complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from update" -l no-cache -d "Don't cache packages and HTTP requests"
402complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from update" -l interactive -d "Allow interactive input/action"
403complete -x -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from update" -s v -l verbosity -a "$msbuild_verbosity_levels" -d "Set the MSBuild verbosity level"
404## list command
405complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from list" -s g -l global -d "List user-wide global tools"
406complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from list" -l local -d "List local tools"
407complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from list" -l tool-path -d "Directory containing the tools to list"
408## search command
409complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from search" -l detail -d "Show detail result of the query"
410complete -x -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from search" -l skip -d "Specify the number of query results to skip"
411complete -x -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from search" -l take -d "Specify the number of query results to show"
412complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from search" -l prerelease -d "Include pre-release packages"
413## restore command
414complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from restore" -l configfile -d "NuGet configuration file to use"
415complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from restore" -l add-source -d "Add an additional NuGet package source to use during installation"
416complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from restore" -l tool-manifest -d "Path to the manifest file"
417complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from restore" -l disable-parallel -d "Prevent restoring multiple projects in parallel"
418complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from restore" -l ignore-failed-sources -d "Treat package source failures as warnings"
419complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from restore" -l no-cache -d "Don't cache packages and HTTP requests"
420complete -f -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from restore" -l interactive -d "Allow interactive input/action"
421complete -x -c dotnet -n "__fish_seen_subcommand_from tool && __fish_seen_subcommand_from restore" -s v -l verbosity -a "$msbuild_verbosity_levels" -d "Set the MSBuild verbosity level"