SettingsPaths 1.0.1

dotnet tool install --global SettingsPaths --version 1.0.1                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local SettingsPaths --version 1.0.1                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=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

Install

Requires .NET 6 Runtime

dotnet tool install SettingsPaths --global

available on Nuget

Nuget Badge

Uninstall

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.

OUTPUT

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 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.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.1 476 4/10/2022
1.0.0 418 4/5/2022