LiteSpec.Cli 4.1.0

dotnet tool install --global LiteSpec.Cli --version 4.1.0
                    
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 LiteSpec.Cli --version 4.1.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=LiteSpec.Cli&version=4.1.0
                    
nuke :add-package LiteSpec.Cli --version 4.1.0
                    

LiteSpec.Cli

The litespec command line for applications that follow LiteSpec, the specification standard for one bounded-context business application built by people and agents. The package carries the LiteSpec release it checks against, so a project needs no copy of the standard.

Install

Install the tool in the project, at the release the project follows:

dotnet new tool-manifest
dotnet tool install LiteSpec.Cli --local --version 4.1.0

A teammate or a build restores it with dotnet tool restore.

Use

Run each command from the project root, the folder that holds .litespec/project.json:

dotnet litespec init --preset dotnet-svelte --size small
dotnet litespec model check
Command What it does
init Writes .litespec/project.json, the record scaffold, the tool manifest, and the ## LiteSpec block of AGENTS.md.
model Builds the project model from the records, the code, the screens and the tests; check reports where they disagree with the project file, the record pages, the glossary, and the controlled UI in the same run, format rewrites record files into canonical form, render writes the generated page regions and the records file each web frontend imports, and query prints one record with its links.
book Generates a static site of the records for reviewers.
new Scaffolds a record page and reserves its identifier, allocates the next decision number, or appends a result, scenario, or list entry to its owning page.
rename Renames a record identifier and rewrites every link.
rules Lists the provisions that govern a path or record identifier, grouped by strength.

Every command accepts --help, and the checks accept --format json.

Learn More

Product 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. 
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
4.1.0 45 11/8/2026
4.0.0 39 11/9/2026
3.0.0 113 11/1/2026
2.0.0 112 10/23/2026