forked from ahoy-cli/ahoy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: [#4] Show overwrite warning for
ahoy init
Shows a warning and a confirmation prompt when running `ahoy init` if an `.ahoy.yml` file already exists in the current directory and would otherwise be overwritten. BREAKING CHANGE: The warning prompt requires user input, so this may require updating of e.g. scripted calls to `ahoy init`. The prompt can be overruled by passing the "force" flag, e.g. `ahoy init --force`
- Loading branch information
Drew Robinson
committed
Jul 17, 2022
1 parent
120cfe8
commit 7971148
Showing
2 changed files
with
55 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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