ydubernet / dotnet-config2json

A simple tool to convert a web.config file to an appsettings.json file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotnet-config2json

AppVeyor build status

NuGet MyGet

A simple tool to convert a web.config file to an appsettings.json file.

Installation

The latest release of dotnet-config2json requires the 2.1.300 .NET Core SDK or newer. Once installed, run this command:

dotnet install tool --global dotnet-config2json

Usage

Usage: dotnet config2json [arguments] [options]

Arguments:
  path          Path to the file or directory to migrate
  delimiter     The character in keys to replace with the section delimiter (:)
  prefix        If provided, an additional namespace to prefix on generated keys

Options:
  -?|-h|--help  Show help information

Performs basic migration of an xml .config file to
a JSON file. Uses the 'key' value as the key, and the
'value' as the value. Can optionally replace a given
character with the section marker (':').

About

A simple tool to convert a web.config file to an appsettings.json file

License:Other


Languages

Language:C# 95.7%Language:PowerShell 4.3%