Conversation
- Changed configuration filename from `config.yaml` to `rfortune.conf` - Implemented automatic migration from legacy `config.yaml` to the new format - Added `ConsoleLog` utility class for colored and symbol-based console output (supports Info, OK, Warning, and Error messages) - Updated all configuration and file initialization functions to use ConsoleLog for consistent and user-friendly terminal messages
- Documented configuration file rename from `config.yaml` to `rfortune.conf` - Added notes on automatic migration and backup of legacy configs - Described new `ConsoleLog` system with colored Unicode output - Updated entries for improved feedback in `config init`, `file init`, and `cache clear` commands
…file - Introduced new subcommand `config edit` to open and modify the configuration file directly from the CLI - Supports optional `--editor <name|path>` argument to specify a custom editor (e.g. vi, nano, code) - Automatically detects system editor via $VISUAL or $EDITOR environment variables - Uses 'nano' as default fallback on macOS/Linux and 'notepad' on Windows - Improved user feedback and consistency with colored ConsoleLog output
Highlights This release brings a revamped configuration system and a brand-new command to edit the config file directly from the terminal. What’s new - Configuration file renamed from config.yaml → rfortune.conf for better clarity and cross-platform consistency. - Automatic migration from legacy config.yaml to the new format, preserving user settings and creating a backup (config.yaml.bak). - New subcommand config edit: - rfortune config edit → opens the configuration file using the system’s default text editor. - rfortune config edit --editor <name|path> → opens it with a specified editor (e.g. vi, nano, code). - Automatic editor detection using $VISUAL and $EDITOR environment variables. - Default fallback editors: nano (macOS/Linux) and notepad (Windows). - Improved terminal feedback with the new ConsoleLog utility for clear, colorized messages (ℹ ✅⚠️ ❌). Documentation updates - Updated README.md to reflect the new configuration workflow and config edit command. - Updated CHANGELOG.md with detailed notes for version 0.5.2.
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 pull request updates rFortune to version 0.5.2, introducing a new configuration workflow and several usability improvements.
✨ Changes
🧱 Version
v0.5.2 — November 4, 2025