Skip to content

πŸš€ TimeWarp.Cli 0.6.0-beta4 - Comprehensive DotNet Fluent API

Choose a tag to compare

@StevenTCramer StevenTCramer released this 11 Jul 11:44
· 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 targeting
  • DotNet.Build() - Project building with MSBuild integration, multi-framework support
  • DotNet.Test() - Test execution with filtering, logging, blame detection
  • DotNet.Clean() - Build artifact cleanup with framework/runtime targeting
  • DotNet.Restore() - Dependency restoration with cache control, multiple sources
  • DotNet.Publish() - Application publishing with self-contained, ReadyToRun, single-file options
  • DotNet.Pack() - NuGet package creation with symbols and source support
  • DotNet.ListPackages() - Package analysis with vulnerability scanning, outdated detection
  • DotNet.AddPackage() - Package installation with version control, prerelease support
  • DotNet.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