Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added --auto mode #1046

Merged
merged 4 commits into from
Nov 21, 2023
Merged

feat: added --auto mode #1046

merged 4 commits into from
Nov 21, 2023

Conversation

JoshuaKGoldberg
Copy link
Owner

PR Checklist

Overview

Adds extra logic to getPrefillOrPromptedOption so that it can return immediately without prompting if needed.

@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as draft November 19, 2023 13:59
@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as ready for review November 21, 2023 20:02
Copy link

codecov bot commented Nov 21, 2023

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (e3eef39) 92.63% compared to head (56b19b3) 94.19%.
Report is 1 commits behind head on main.

Files Patch % Lines
src/shared/options/readOptions.ts 89.47% 8 Missing ⚠️
src/shared/types.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1046      +/-   ##
==========================================
+ Coverage   92.63%   94.19%   +1.56%     
==========================================
  Files          95       96       +1     
  Lines        5444     5551     +107     
  Branches      425      446      +21     
==========================================
+ Hits         5043     5229     +186     
+ Misses        400      321      -79     
  Partials        1        1              
Flag Coverage Δ
create 70.61% <41.05%> (-0.15%) ⬇️
initialize 41.73% <42.38%> (?)
migrate 69.78% <41.05%> (-0.06%) ⬇️
unit 72.00% <93.42%> (+0.45%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JoshuaKGoldberg JoshuaKGoldberg merged commit 082b0d9 into main Nov 21, 2023
@JoshuaKGoldberg JoshuaKGoldberg deleted the auto-mode branch November 21, 2023 20:23
Copy link

🎉 This is included in version v1.46.0 🎉

The release is available on:

Cheers! 📦🚀

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.

🚀 Feature: Add an --auto mode
1 participant