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

ui: redirect prompt messages to stderr #4536

Merged
merged 2 commits into from
Oct 7, 2024
Merged

Conversation

torquestomp
Copy link
Contributor

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added tests to cover my changes

cli/src/ui.rs Outdated Show resolved Hide resolved
cli/src/ui.rs Show resolved Hide resolved
cli/src/ui.rs Outdated Show resolved Hide resolved
cli/src/ui.rs Show resolved Hide resolved
This enables more scripting use cases where the caller may wish to parse stdout for programmatic purposes.
@torquestomp torquestomp changed the title ui: refactor prompt to write to stdout or stderr ui: redirect prompt messages to stderr Oct 7, 2024
Copy link
Contributor

@yuja yuja left a comment

Choose a reason for hiding this comment

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

Thanks!

@torquestomp torquestomp merged commit 0c7357e into jj-vcs:main Oct 7, 2024
18 checks passed
@torquestomp torquestomp deleted the prompt branch October 30, 2024 18:31
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