![]() |
VOOZH | about |
dotnet tool install --global dotnet-config --version 1.2.0
dotnet new tool-manifestif you are setting up this repo
dotnet tool install --local dotnet-config --version 1.2.0
#tool dotnet:?package=dotnet-config&version=1.2.0
nuke :add-package dotnet-config --version 1.2.0
The command line tool allows you to inspect and modify configuration files used by your dotnet tools. Installation is the same as for any other dotnet tool:
> dotnet tool install -g dotnet-config
The available options and actions are (for the most part) compatible with the behavior of git config.
When reading and writing from a single file, you can for the most part just use
git configalong with the compatibility option-f|--filespecifying the file to read/write from.
Reading and writing variables don't require any special options. The following lines first write a variable value and then retrieve its value:
> dotnet config mytool.myvariable myvalue
> dotnet config mytool.myvariable
myvalue
The value is returned verbatim via the standard output, so you can assign it directly to a variable, for example.
All current options from running dotnet config -? are:
Usage: dotnet config [options]
Location (uses all locations by default)
--global use global config file
--system use system config file
--local use .netconfig.user file
-f, --file use given config file (git config compat)
--path[=VALUE] use given config file or directory
Action
--get get value: name [value-regex]
--get-all get all values: key [value-regex]
--get-regexp get values for regexp: name-regex [value-regex]
--add add a new variable: name value
--unset remove a variable: name [value-regex]
--unset-all remove all matches: name [value-regex]
--set set value: name value [value-regex]
--set-all set all matches: name value [value-regex]
--rename-section rename section: old-name new-name
--remove-section remove a section: name
-l, --list list all
-e, --edit edit the config file in an editor
Other
--name-only show variable names only
--default[=VALUE] with --get, use default value when missing entry
--type[=VALUE] value is given this type, can be 'boolean', '
datetime' or 'number'
-?, -h, --help Display this help
Command line parsing is done with Mono.Options so
all the following variants for arguments are supported: -flag, --flag, /flag, -flag=value,
--flag=value, /flag=value, -flag:value, --flag:value, /flag:value, -flag value,
--flag value, /flag value.
π Clarius Org
π Kirill Osenkov
π MFB Technologies, Inc.
π Stephen Shaw
π Torutek
π DRIVE.NET, Inc.
π Ashley Medway
π Keith Pickford
π Thomas Bolon
π Kori Francis
π Toni Wenzel
π Giorgi Dalakishvili
π Uno Platform
π Dan Siegel
π Reuben Swartz
π Jacob Foshee
π alternate text is missing from this package README image
π Eric Johnson
π Ix Technologies B.V.
π David JENNI
π Jonathan
π Oleg Kyrylchuk
π Charley Wu
π Jakob TikjΓΈb Andersen
π Seann Alexander
π Tino Hager
π Mark Seemann
π Ken Bonny
π Simon Cropp
π agileworks-eu
π sorahex
π Zheyu Shen
π Vezel
π ChilliCream
π 4OTC
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.0 | 70,950 | 7/7/2024 |
| 1.1.1 | 586 | 6/25/2024 |
| 1.1.0 | 588 | 6/25/2024 |
| 1.0.6 | 41,010 | 7/30/2021 |
| 1.0.5 | 884 | 7/30/2021 |
| 1.0.4 | 826 | 6/12/2021 |
| 1.0.3 | 856 | 4/29/2021 |
| 1.0.2 | 825 | 4/29/2021 |
| 1.0.1 | 794 | 4/27/2021 |
| 1.0.0-rc.3 | 377 | 4/26/2021 |
| 1.0.0-rc.2 | 421 | 12/21/2020 |
| 1.0.0-rc.1 | 419 | 12/15/2020 |
| 1.0.0-rc | 649 | 9/6/2020 |
| 1.0.0-beta | 539 | 8/28/2020 |
| 1.0.0-alpha.13 | 453 | 8/27/2020 |
| 1.0.0-alpha.12 | 526 | 8/27/2020 |
| 1.0.0-alpha.11 | 448 | 8/25/2020 |
| 1.0.0-alpha.6 | 513 | 8/24/2020 |