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

Add more choices to the "srb init" question #1268

Closed
jasnow opened this issue Jul 11, 2019 · 2 comments
Closed

Add more choices to the "srb init" question #1268

jasnow opened this issue Jul 11, 2019 · 2 comments
Labels
enhancement New feature or surprising current feature unconfirmed This issue has not yet been confirmed by the Sorbet team

Comments

@jasnow
Copy link
Contributor

jasnow commented Jul 11, 2019

Problem

Only one choice, yes, to do for "srb init"

Proposed solution

Suggest that you add more choices to the srb init question so users could better self-diagnosis init problems. They could provide more information in issue reports too.
The current srb init question is:

  • Would you like to continue? [Y/n]

SUGGESTIONS: Like H, V, S, E, I where

  • H(elp) would provide "srb init" usage/help information (existing issue: srb init --help should provide documentation, but not do anything #1003)
  • V(erbose), T(ell me more), D(ebug) would add more detailed information such as the phases milestones, etc.
  • S(ilent) turns off all sorbet-generated warnings and errors so you can see where the messages are coming from
  • E(rrors) keeps only sorbet-generated errors
  • I(nfor) turns off all sorbet-generated information-only warnings.

Example: rails app:update has multiple choices: (enter "h" for help) [Ynaqdhm]

One last thing - you can break into request into multiple PRs.
Thanks

@jasnow jasnow added enhancement New feature or surprising current feature unconfirmed This issue has not yet been confirmed by the Sorbet team labels Jul 11, 2019
@jasnow jasnow changed the title Easter Egg: Add more choices to this "srb init" question Add more choices to the "srb init" question Jul 11, 2019
@jasnow
Copy link
Contributor Author

jasnow commented Jul 11, 2019

Found that I can separate the stdout and stderr output into separate files but that also losses context.

@jasnow
Copy link
Contributor Author

jasnow commented Jul 17, 2019

Wishful thinking.

@jasnow jasnow closed this as completed Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or surprising current feature unconfirmed This issue has not yet been confirmed by the Sorbet team
Projects
None yet
Development

No branches or pull requests

1 participant