Skip to content

feat: add prompt to emitter#315

Merged
tigarmo merged 5 commits intocanonical:mainfrom
dariuszd21:work/CRAFT-3739-add-prompting
Dec 20, 2024
Merged

feat: add prompt to emitter#315
tigarmo merged 5 commits intocanonical:mainfrom
dariuszd21:work/CRAFT-3739-add-prompting

Conversation

@dariuszd21
Copy link
Copy Markdown
Contributor

@dariuszd21 dariuszd21 commented Dec 19, 2024

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run tox?

Add a functionality to prompt user for an input.
Additionally with hide set to True user may be asked for a secret input.

(CRAFT-3739)

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.56%. Comparing base (99394c9) to head (af42b4b).
Report is 75 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #315      +/-   ##
==========================================
+ Coverage   93.24%   94.56%   +1.32%     
==========================================
  Files           7        7              
  Lines        1080     1197     +117     
  Branches      200      242      +42     
==========================================
+ Hits         1007     1132     +125     
+ Misses         66       59       -7     
+ Partials        7        6       -1     

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

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dariuszd21 dariuszd21 force-pushed the work/CRAFT-3739-add-prompting branch 3 times, most recently from 0da221a to 78963ce Compare December 19, 2024 22:45
Signed-off-by: Dariusz Duda <dariusz.duda@canonical.com>
@dariuszd21 dariuszd21 force-pushed the work/CRAFT-3739-add-prompting branch from 78963ce to 4351a07 Compare December 19, 2024 22:48
@dariuszd21 dariuszd21 marked this pull request as ready for review December 19, 2024 22:56
@dariuszd21 dariuszd21 requested review from a team, bepri and tigarmo and removed request for a team December 19, 2024 22:56
Copy link
Copy Markdown
Member

@bepri bepri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just nitpicks, so I'm approving :)

Comment thread craft_cli/messages.py
Comment thread craft_cli/messages.py Outdated
Signed-off-by: Dariusz Duda <dariusz.duda@canonical.com>
Signed-off-by: Dariusz Duda <dariusz.duda@canonical.com>
Signed-off-by: Dariusz Duda <dariusz.duda@canonical.com>
Copy link
Copy Markdown
Collaborator

@tigarmo tigarmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@tigarmo tigarmo added the squash label Dec 20, 2024
@tigarmo tigarmo merged commit b598dd8 into canonical:main Dec 20, 2024
@dariuszd21 dariuszd21 deleted the work/CRAFT-3739-add-prompting branch December 20, 2024 19:05
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.

3 participants