Anarchy.Toolkit.Build.Cli
1.6.0
See the version list below for details.
dotnet add package Anarchy.Toolkit.Build.Cli --version 1.6.0
NuGet\Install-Package Anarchy.Toolkit.Build.Cli -Version 1.6.0
<PackageReference Include="Anarchy.Toolkit.Build.Cli" Version="1.6.0" />
<PackageVersion Include="Anarchy.Toolkit.Build.Cli" Version="1.6.0" />
<PackageReference Include="Anarchy.Toolkit.Build.Cli" />
paket add Anarchy.Toolkit.Build.Cli --version 1.6.0
#r "nuget: Anarchy.Toolkit.Build.Cli, 1.6.0"
#:package Anarchy.Toolkit.Build.Cli@1.6.0
#addin nuget:?package=Anarchy.Toolkit.Build.Cli&version=1.6.0
#tool nuget:?package=Anarchy.Toolkit.Build.Cli&version=1.6.0
Anarchy.Toolkit.Build.Cli
Part of Anarchy I/O Toolkit, a .NET developer platform · Pillar: Build Ecosystem · Layer: Build · Package catalog
The build and command-line operations shared by the toolkit's tooling: the Fallout build components (Anarchy.Toolkit.Build.Fallout) call them from their targets, and the anarchy-toolkit tool from its commands.
dotnet add package Anarchy.Toolkit.Build.Cli
- Solutions:
SolutionBootstrappercreates a complete solution from aSolutionPlanin an empty directory: the Fallout build host (BuildHostScaffolder), the packaged Makefile, scripts and settings files (SolutionScaffolder), a library per layer and the planned applications.SolutionWorkspacereads an existing solution's layout andApplicationScaffolderadds an API, job or UI to it. Existing files are never overwritten. - Layouts:
SolutionLayoutplaces libraries and applications by folder (src/Library/<Layer>,src/Api,src/Jobs,src/Ui) or by name prefix (src/<Layer>.<Name>), and gives the matchingILayeringBuildparameters. - Build operations: layering checks, dependency maps, release versioning and notes, Git hooks, dependency upgrades and NuGet packaging, without depending on Fallout.
- Containers:
LocalContainerTasksmanages a Docker Compose environment;WaitForRunningtakes an optional readiness callback for containers without a health check. - Banners: tools built on this package choose their banner with
ConsoleBannerOptions: Anarchy's logo by default (AnarchyConsoleBanner), their ownIConsoleBannerthroughBanner, or none withHide = true.Write(console)prints it, skipping redirected output. Theanarchy-toolkittool always prints Anarchy's.
Most consumers should use the anarchy-toolkit tool or the Fallout targets rather than this package directly.
Distributed files
Boilerplate/ holds the Makefile and scripts installed into generated solutions; together with the repository's .gitignore, .editorconfig, global.json and nuget.config, it is embedded as-is. The toolkit repository uses the same files in place through its root Makefile, which sets SCRIPTS_DIR. The scripts find the project root from PROJECT_ROOT (exported by the Makefile), else their parent directory.
Releases
1.6.0
- feat(Build.Fallout): run the mock server with or without its UI
1.5.1
- docs(packages): identify each package's pillar and layer
- build(packages): attribute the copyright to Leandro Melão Medeiros
- build: relicense under Apache-2.0 and update the package metadata
- fix(mock-server): default to port 6001, which browsers allow
1.5.0
- build(deps): upgrade Swashbuckle.AspNetCore to 11.0.1 and Microsoft.OpenApi to 3.11.1
- feat(Build.Cli): scaffold APIs without the Swagger theme and UIs with the logo and theme toggle
1.4.0
- feat:
OpenApiExpectationSyncadds mock server expectations for OpenAPI/Swagger endpoints (file or URL, JSON or YAML) that have none, never changing existing ones and reporting changed or removed endpoints;mock_server_sync_openapiMake target
1.3.0
- refactor:
LocalPortsmoved toAnarchy.Toolkit.Core.Helper(now references Anarchy.Toolkit.Core) - feat:
mock-server.mkboilerplate targets forIMockServerBuild
1.2.2
- docs: expand XML docblocks across all projects for the DocFX API reference
1.2.1
install-sdk.shinstalls the pinned feature band (e.g.10.0.1xx) whenglobal.jsononly lets patches roll forward, the default, instead of a newer feature band its own check rejects; it also announces what it installs before downloading.build.fallout.shignores aDOTNET_EXEthat is not an executable (e.g. left over from a removed Homebrew SDK) and usesdotnetfromPATH.- The bootstrap scripts print standard headings and colors through
title.sh,subtitle.shandcolors.env;install-sdk.shshows a title when run on its own and a subtitle when part ofinstall_dev_env.
1.2.0
- Configurable console banners:
IConsoleBanner,AnarchyConsoleBannerandConsoleBannerOptionslet tools keep Anarchy's banner, render their own or print none. LocalContainerTasks.WaitForRunninggains an overload with a readiness callback.
1.1.0
- feat(Build.Fallout): replace AWS release flows with Docker and container builds
1.0.0
- Introduced solution bootstrapping and scaffolding with configurable layering, application templates and the build operations extracted from Build.Fallout.
| Product | Versions 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. |
-
net10.0
- Anarchy.Toolkit.Core (>= 1.1.1)
- Humanizer (>= 3.0.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.15)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.15)
- Microsoft.OpenApi (>= 3.11.1)
- Microsoft.OpenApi.YamlReader (>= 3.11.1)
- Newtonsoft.Json (>= 13.0.4)
- Serilog (>= 4.4.0)
- Spectre.Console (>= 0.57.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Anarchy.Toolkit.Build.Cli:
| Package | Downloads |
|---|---|
|
Anarchy.Toolkit.Build.Fallout
Fallout build components: solution/test conventions, Microsoft.Testing.Platform-aware test runner, linting, layering checks, NuGet and ECR container release flows and local app runs. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial release.