Blaizio.Cli 0.3.9

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

Blaizio.Cli

The blaizio dotnet tool: initializes Blazor projects for the Blaizio component framework and copies components from the registry into your app as source you own.

dotnet tool install -g Blaizio.Cli
blaizio new showcase            # a new app from a template
blaizio add button card dialog  # wires Blaizio into your existing app first when needed

Commands

Command Purpose
new Scaffold a new app from a template (showcase, webapp, wasm, library), then run the wiring pipeline over it. create is an alias.
add Copy components (with transitive registry dependencies) into your output dir, rewrite namespaces, record the install. Wires Blaizio into the project first when needed: blaizio.json, NuGet layers, Tailwind v4 (managed CSS + input, standalone binary auto-fetch or your bundler), host page - the whole flow the hidden legacy init command used to own. Also --diff, --view, and font-* items.
update Bring the project up to this tool's release in lockstep: pin the Blaizio NuGet packages (and TailwindMerge.NET) to the versions the tool ships, then re-pull the installed components from the registry (update <component> re-pulls just that one and its dependencies). Files you have not changed are replaced; files you changed are yours to pick, and kept on unattended runs unless you pass --force (see below). The tool itself updates with dotnet tool update -g Blaizio.Cli.
apply Re-style an existing project from a preset name or a /themes code (--only theme,fonts,tokens).
search / view / info / docs Query the registry.
preset decode/resolve/url/open Work with /themes preset codes.
registry add/validate Extra registries, @namespace/component resolution.
tailwind detect/setup/fetch Tailwind pipeline wiring (standalone binary is sha256-verified and cached per user).
remove Take individual components back: deletes exactly the files add recorded for them and drops their entry; refuses items another component still needs (--force overrides).
uninstall Undo-by-record: removes exactly the components, packages and wiring tracked in blaizio.json; user files survive.
eject Copy the materialized contract sheets into your tokens file and own the styling plumbing from then on.
build Compile a registry from component source (maintainers).

Every command supports --json (single JSON document on stdout) for IDE plugins and automation, plus -c/--cwd, -y, -s/--silent, --registry.

Your local edits

Components are copied into your project, so editing them is expected. update (and add --overwrite) re-pull those files, and the content hash recorded for every write lets the CLI tell a file you changed apart from one that merely has a newer version upstream. Untouched files are replaced silently; changed ones are offered as a checkbox list.

Run Components you changed
interactive picked from a checkbox list - unticked keeps yours
-y, --json, --silent, no TTY kept (everything else still updates)
update --force, add --overwrite --force-overwrite replaced - the only way to discard edits unattended

-y means "don't ask me", never "overwrite everything". Inspect before deciding with blaizio add --diff <component>. (add -f/--force is unrelated: it re-writes blaizio.json.)

An overwriting run also removes files a component stopped shipping (an upstream rename or split), so the old copy can't linger and shadow its replacement - by record only, and untouched files only. One you changed, or one with no baseline, is reported and left for --force.

Configuration

blaizio.json records the component namespace and output dir, the Tailwind input (css), the chosen style/preset and font/chart/radius selections, extra registries, and the install ledger (each component's files with their baseline hashes, plus CLI-installed packages) that powers update, add --diff and uninstall.

Documentation

Visit https://blaiz.io/docs/cli to view the documentation.

Community

License

Licensed under the MIT license.

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
0.3.9 52 12/3/2026
0.3.8 58 12/3/2026
0.3.7 93 12/1/2026
0.3.6 114 11/22/2026
0.3.4 167 9/16/2026
0.3.3 134 9/10/2026
0.3.2 137 9/10/2026
0.3.1 143 9/8/2026
0.3.0 143 9/8/2026
0.2.1 142 9/6/2026
0.2.0 141 9/5/2026
0.1.0 142 9/5/2026