mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #1523] [MERGED] feat(cli): change quickstart to prompt user before writing files #1443
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/1523
Author: @omark96
Created: 8/2/2025
Status: ✅ Merged
Merged: 9/2/2025
Merged by: @LGUG2Z
Base:
master← Head:feat(cli)/quickstart-warning📝 Commits (1)
82d0076feat(cli): change quickstart to prompt user before writing files📊 Changes
1 file changed (+48 additions, -7 deletions)
View changed files
📝
komorebic/src/main.rs(+48 -7)📄 Description
This commit makes it so the quickstart command first checks for the existence of the config files. If they don't exist it writes them, if they do exist it prompts the user to whether or not they want to overwrite the existing files. Lastly it prints the full path to the files that were written. This is to prevent users from accidentally overwriting their configs as well as making it clearer where komorebi places the config files for new users.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.