Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WIP] [Console] added a better way to ask questions to the user#9811

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
fabpot wants to merge1 commit intosymfony:masterfromfabpot:console-question

Conversation

@fabpot
Copy link
Member

QA
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsn/a
LicenseMIT
Doc PRnot yet

Todo:

  • add missing phpdocs
  • add unit tests
  • submit doc PR

Copy link
Contributor

Choose a reason for hiding this comment

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

why not using a new Process()? just curious

Copy link
Member

Choose a reason for hiding this comment

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

To no add an hard dependency.

Copy link
Contributor

Choose a reason for hiding this comment

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

you should check if stty is available at first?

Copy link
Contributor

Choose a reason for hiding this comment

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

@stof
Copy link
Member

Please make your new helper aware of the interactive mode of the console input, so that we don't have to check manually each time we use it in order to keep the--no-interaction flag working. Most fully interactive commands are not putting their interaction ininteract before the execution, but in the middle of the execution when they need it.
This issue was fixed for dialogHelper in#8452 (in a hacky way IMO as I don't find the InputAwareInterface that clean, but it was needed because of BC concerns). The QuestionHelper should take this constraint into account since its first released implementation

Copy link
Member

Choose a reason for hiding this comment

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

should be namedgetAutocompleter

Copy link
Contributor

Choose a reason for hiding this comment

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

purposes

@stof
Copy link
Member

stof commentedMar 4, 2014

@fabpot what is the status on this PR ?

fabpot added a commit that referenced this pull requestApr 2, 2014
…ser (fabpot, romainneutron)This PR was merged into the 2.5-dev branch.Discussion----------[Console] added a better way to ask questions to the user| Q             | A| ------------- | ---| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | yes| Tests pass?   | yes| Fixed tickets | n/a| License       | MIT| Doc PR        | not yetThis PR replaces#9811- [x] add missing phpdocs- [x] add unit tests- [ ] submit doc PRCommits-------336bba2 [Console] Add docblocks and unit tests to QuestionHelperc413f89 [Console] added a better way to ask questions to the user
@romainneutron
Copy link
Contributor

This PR can be closed

@fabpot
Copy link
MemberAuthor

Closing in favor of#10606

@fabpotfabpot closed thisApr 3, 2014
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

9 participants

@fabpot@stof@romainneutron@stloyd@staabm@cordoval@lyrixx@wouterj@max-voloshyn

[8]ページ先頭

©2009-2025 Movatter.jp