Arbor.KVConfiguration.GlobalTool
4.0.0
dotnet tool install --global Arbor.KVConfiguration.GlobalTool --version 4.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local Arbor.KVConfiguration.GlobalTool --version 4.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Arbor.KVConfiguration.GlobalTool&version=4.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Arbor.KVConfiguration.GlobalTool --version 4.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Arbor.KVConfiguration.GlobalTool
A .NET tool for creating and updating Arbor.KVConfiguration JSON key-value configuration files from the command line.
Install
dotnet tool install --global Arbor.KVConfiguration.GlobalTool
The installed command is dotnet-arborkv.
Usage
dotnet-arborkv <path-to-json-file> <key>=<value> [<key>=<value> ...]
Example:
dotnet-arborkv ./applicationMetadata.json myKey=myValue myKey2=myValue2
This writes a configuration file such as:
{
"version": "1.0",
"keys": [
{ "key": "myKey", "value": "myValue" },
{ "key": "myKey2", "value": "myValue2" }
]
}
If the file already exists, its existing keys are kept. Keys passed on the command line replace existing keys with the same name (case-insensitive). Keys are written sorted by name.
Options
| Argument | Description |
|---|---|
--debug |
Enable debug-level logging. |
Exit codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | The application host could not be created |
| 2 | No key=value pairs were supplied |
| 3 | Missing required arguments |
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.