Info
Version: | 1.0.6 |
Author(s): | kzu |
Last Update: | Friday, July 30, 2021 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/dotnetconfig/dotnet-config |
NuGet Url: | https://www.nuget.org/packages/dotnet-config |
Install
Install-Package dotnet-config
dotnet add package dotnet-config
paket add dotnet-config
dotnet-config Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
Usage: dotnet config [options]
Location (uses all locations by default)
--local use .netconfig.user file
--global use global config file
--system use system config file
--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]
--set set value: name value [value-regex]
--set-all set all matches: name value [value-regex]
--add add a new variable: name value
--unset remove a variable: name [value-regex]
--unset-all remove all matches: name [value-regex]
--remove-section remove a section: name
--rename-section rename section: old-name new-name
-l, --list list all
-e, --edit edit the config file in an editor
Other
--default[=VALUE] with --get, use default value when missing entry
--name-only show variable names only
--type[=VALUE] value is given this type, can be 'boolean', '
datetime' or 'number'
-?, -h, --help Display this help
Built from https://github.com/dotnetconfig/dotnet-config/tree/d14cb664a.