Implement CLI styling with Charm.sh tools for enhanced user experience - #4
Merged
liamgallear merged 5 commits intoSep 24, 2025
Merged
Conversation
…ss bars, and enhanced error messages Co-authored-by: liamgallear <185555686+liamgallear@users.noreply.github.com>
…nctionality confirmed working Co-authored-by: liamgallear <185555686+liamgallear@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement CLI styling by making use of Charm.sh's tools
Implement CLI styling with Charm.sh tools for enhanced user experience
Sep 24, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR enhances the md_split CLI tool by integrating Charm.sh's styling ecosystem to provide a modern, visually appealing terminal interface while maintaining backward compatibility.
- Added comprehensive styling system using Lipgloss with color-coded status messages and progress bars
- Implemented real-time progress tracking for file operations using progressbar/v3
- Enhanced error handling with styled output that makes issues immediately visible
Reviewed Changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| internal/style/style.go | New styling package with Lipgloss-based color palette and helper functions |
| go.mod | Added dependencies for Lipgloss styling and progressbar functionality |
| cmd/split.go | Enhanced split command with styled output and progress tracking |
| cmd/root.go | Updated error handling to use styled error messages |
| cmd/merge.go | Enhanced merge command with styled output and progress tracking |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
liamgallear
marked this pull request as ready for review
September 24, 2025 09:16
liamgallear
deleted the
copilot/fix-02999c5e-3350-45c9-8303-2dd4aa5c01fe
branch
September 24, 2025 09:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR transforms the md_split CLI tool from basic text output to a modern, visually appealing interface using Charm.sh's ecosystem.
What's Changed
Visual Enhancements
Technical Implementation
internal/stylepackage with Lipgloss-based styling functions and a professional color palettegithub.com/schollz/progressbar/v3for smooth progress visualizationBefore/After Examples
Before (plain text):
After (styled output):
Dependencies Added
github.com/charmbracelet/lipgloss v1.1.0- Terminal styling frameworkgithub.com/schollz/progressbar/v3 v3.18.0- Progress bar libraryAll dependencies have been security-scanned and contain no known vulnerabilities.
Testing
The CLI now provides a professional, modern user experience while maintaining all original functionality.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.