Skip to main content
Any Framework

The Configo CLI tool. Run 'configo schema generate' to generate an appsettings JSON schema for your application.

Published
Jun 26, 2026
3mo ago
Total Downloads
1.8K
1,836

Install

dotnet add package Configo.Tool --version 1.1.0

No framework information available.

README

Configo.Tool

The Configo CLI tool, distributed as a .NET tool.

It generates an appsettings.schema.json file for your application by introspecting its dependency injection container, giving you IntelliSense and validation for your configuration in editors that support JSON schema.

Installation

Install globally:

dotnet tool install --global Configo.Tool

Or as a local tool (recommended for repeatable builds):

dotnet new tool-manifest   # if you don't have one yet
dotnet tool install Configo.Tool

Usage

Run from your application's directory:

configo schema generate
configo schema generate --project src/MyApp
configo schema generate --project src/MyApp/MyApp.csproj --output ./appsettings.schema.json
Option Description
--project <path> Path to the .csproj file or the directory that contains it. Defaults to the current working directory.
--output <file> Output path for the generated schema file. Overrides the default location. Can be absolute or relative to the current directory.
--help, -h Show the help message.

How it works

The tool launches your application out-of-process with schema generation enabled. Your app must reference the Configo.Design package and call AddConfigoDesign() so the tool can discover which CLR types are bound to which configuration sections. The tool then loads your compiled assemblies and generates the JSON schema. See the Configo.Design documentation for details.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.