π TimeWarp.Cli 0.6.0-beta4 - Comprehensive DotNet Fluent API
·
808 commits
to master
since this release
π― Major Feature Release: Comprehensive DotNet Fluent API
This release introduces a complete fluent API for all major .NET CLI commands, providing a strongly-typed, discoverable interface that follows TimeWarp.Cli's graceful error handling philosophy.
β¨ New Features
π§ 9 Complete DotNet Commands
DotNet.Run()- Application execution with launch profiles, architecture targetingDotNet.Build()- Project building with MSBuild integration, multi-framework supportDotNet.Test()- Test execution with filtering, logging, blame detectionDotNet.Clean()- Build artifact cleanup with framework/runtime targetingDotNet.Restore()- Dependency restoration with cache control, multiple sourcesDotNet.Publish()- Application publishing with self-contained, ReadyToRun, single-file optionsDotNet.Pack()- NuGet package creation with symbols and source supportDotNet.ListPackages()- Package analysis with vulnerability scanning, outdated detectionDotNet.AddPackage()- Package installation with version control, prerelease supportDotNet.RemovePackage()- Package removal with project targeting
π¨ API Design Highlights
// Fluent builder pattern with comprehensive options
await DotNet.Build("MyApp.csproj")
.WithConfiguration("Release")
.WithFramework("net10.0")
.WithRuntime("win-x64")
.WithProperty("Version", "1.0.0")
.WithNoRestore()
.ExecuteAsync();
// Advanced publishing with deployment options
await DotNet.Publish("MyApp.csproj")
.WithConfiguration("Release")
.WithRuntime("linux-x64")
.WithSelfContained()
.WithReadyToRun()
.WithSingleFile()
.WithTrimmed()
.ExecuteAsync();π§ͺ Quality Assurance
- 17 Test Suites with 100% pass rate
- 105+ Individual Tests covering all command options
- Comprehensive Coverage including graceful error handling and pipeline integration
π Documentation
- Complete API Reference with practical examples
- Integration with Microsoft Docs via authoritative links
- Local Development Workflow guidance with package cache management
π Technical Implementation
- Partial Class Architecture for clean separation of concerns
- Consistent Error Handling following TimeWarp.Cli's graceful degradation philosophy
- Full Pipeline Compatibility with existing pipeline system
- Local Package Cache Strategy for rapid development iteration
π― Test Results
============================================================
π― TEST SUMMARY
Total Test Suites: 17
Passed: 17
Failed: 0
Success Rate: 100.0%
============================================================
This release significantly enhances TimeWarp.Cli's capabilities for .NET development workflows, providing a production-ready, comprehensive DotNet fluent API that maintains consistency with the library's design philosophy.
π Getting Started
#:package TimeWarp.Cliπ Documentation
π€ Generated with Claude Code