v0.6.0-rc7: Shell.Run() Fluent Builder API
Pre-release
Pre-release
·
728 commits
to master
since this release
What's New
✨ Shell.Run() Fluent Builder API
- Added
Shell.Run()for fluent command configuration - Provides consistent API pattern matching
DotNet.Run(),Fzf.Run(), etc. - Enables elegant command building with method chaining
📋 Example Usage
// Simple command with arguments
var result = await Shell.Run("git")
.WithArguments("log", "--oneline", "-n", "10")
.GetStringAsync();
// Complex command with environment and validation
var output = await Shell.Run("docker")
.WithArguments("run", "--rm", "-v", "/host:/container")
.WithEnvironmentVariable("NODE_ENV", "production")
.WithWorkingDirectory("/workspace")
.WithNoValidation()
.ExecuteAsync();🔧 Test Infrastructure Improvements
- Tests now use ProjectReference instead of PackageReference
- Improved development workflow with direct source references
- Added comprehensive RunBuilder integration tests
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com