Skip to content

Conversation

@markdwags
Copy link
Owner

This pull request introduces significant improvements to the visual presentation and user experience of the ddcswitch CLI, with a focus on enhanced output formatting, new commands, and improved error handling. The most notable changes include the addition of the toggle and info commands, comprehensive visual enhancements for command outputs (including panels, tables, and progress bars), and better error reporting for both text and JSON outputs.

New features and commands:

  • Added toggle command to switch a monitor between two input sources, and info command to display detailed EDID and feature information for a specific monitor, including support for JSON output. [1] [2] [3]

Visual and output enhancements:

  • Improved visual styling across all commands, including enhanced panels, tables, and progress bars, optimized for dark backgrounds and Windows Terminal/Command Prompt. This includes clearer status indicators, better color hierarchy, and more readable output for features such as brightness and contrast in the get command. [1] [2]
  • The list, set, toggle, and scan commands now provide better visual separation, summary statistics, and consistent panel styling with icons for improved hierarchy.

Documentation and usability:

  • Updated help output and documentation to include the new toggle and info commands, with example usage and mention of NO_COLOR environment variable support. [1] [2]

Error handling improvements:

  • Enhanced error handling in the command router to provide clearer, actionable error messages in both text and JSON formats, including special handling for argument and invalid operation exceptions. [1] [2]

Other improvements:

  • Improved formatting for success, warning, and error messages, with more detailed information and context for the user.

These changes collectively make ddcswitch more user-friendly, visually appealing, and robust for both interactive and programmatic use.

markdwags and others added 19 commits January 8, 2026 17:13
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- Introduced a PowerShell build script for NativeAOT compilation
- Improved visual styling across commands with enhanced panels, icons, and progress indicators
- Updated README with installation instructions and usage examples
- Enhanced error and success messages for better user feedback
# Conflicts:
#	CHANGELOG.md
#	DDCSwitch/Commands/ConsoleOutputFormatter.cs
#	DDCSwitch/Commands/InfoCommand.cs
#	DDCSwitch/Commands/ToggleCommand.cs
#	DDCSwitch/Core/Monitor.cs
#	DDCSwitch/JsonContext.cs
#	DDCSwitch/NativeMethods.cs
#	EXAMPLES.md
#	README.md
@markdwags markdwags merged commit f2f2617 into main Jan 12, 2026
4 of 6 checks passed
@markdwags markdwags deleted the fix/choco-install branch January 12, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants