dotnet tool install --global SettingsPaths --version 1.0.1
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local SettingsPaths --version 1.0.1
nuke :add-package SettingsPaths --version 1.0.1
SettingsPaths dotnet tool
Reads Appsettings.json or supplied json configuration file and creates a settingsPaths.csv file with the configuration paths and values for entering in tools like Octopus Deploy
Requires .NET 6 Runtime
dotnet tool install SettingsPaths --global
available on Nuget
dotnet tool uninstall SettingsPaths --global
How to Run
SettingsPaths pathToSettingsFile with or without the including the settings file name. If no settings file supplied it will assume appsettings.json
Examples: At command line, SettingsPaths C:\MyProjectFolder or SettingsPaths C:\MyProjectFolder\appsettings.json
SettingsPaths with out any arguments. If no settings file supplied it will assume appsettings.json
At command line, SettingsPaths no arguments will prompt, "Enter path to appsettings.json:" for path with or without settings file name.
File named settingsPaths.csv, comma delimited, at the same path.
VARIABLE NAME,VALUE AllowedHosts,* AppSettings:TargetPath,C:\watcher Serilog:Enrich:0,FromLogContext Serilog:Enrich:1,WithMachineName Serilog:Enrich:2,WithProcessId Serilog:Enrich:3,WithThreadId Serilog:MinimumLevel:Default,Information Serilog:MinimumLevel:Override:Microsoft,Warning Serilog:MinimumLevel:Override:System,Warning Serilog:Properties:ApplicationName,MyApplication Serilog:WriteTo:0:Args:path,C:\temp\log.txt Serilog:WriteTo:0:Args:rollingInterval,Day Serilog:WriteTo:0:Name,File
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
This package has no dependencies.