Skip to content

v0.6.0-beta11: Major Refactoring & C# Script Fix

Choose a tag to compare

@StevenTCramer StevenTCramer released this 12 Jul 15:55
· 783 commits to master since this release

What's Changed

πŸ› Bug Fixes

  • Fix C# script arguments with dashes being intercepted by dotnet run (#1)
    • C# scripts can now properly receive arguments starting with dash/hyphen
    • Automatically inserts -- separator for .cs files

πŸ”¨ Major Refactoring

  • Modular Command Structure: Split large command files into focused partial classes

    • FZF.cs (920 lines) β†’ 10 partial classes organized by functionality
    • Ghq.cs (368 lines) β†’ 7 partial classes for each sub-command
    • Gwq.cs (548 lines) β†’ 10 partial classes for better maintainability
  • Core Organization: Created Core folder for fundamental classes

    • Moved CommandExtensions, CommandOptions, and CommandResult to Core/
    • Better separation of concerns and improved discoverability
  • Test Reorganization: Tests now mirror source structure

    • Created Core/ folder in tests matching source organization
    • Renamed test files to clearly indicate what they test
    • Better test discoverability and maintenance

✨ Features

  • Implement central package management with Directory.Packages.props
  • Add local NuGet cache support to avoid global cache conflicts
  • Add branch protection management scripts (EnableBranchProtection.cs, DisableBranchProtection.cs)

πŸ“š Documentation

  • Update README with command builder examples
  • Add seamless C# script support to features
  • Fix architectural decisions link typo

Full Changelog: v0.6.0-beta10...v0.6.0-beta11