Command API in OCP - #62942
Merged
Merged
Conversation
CarlSchwan
requested review from
Altahrim,
come-nc,
leftybournes and
nfebe
and removed request for
a team
August 5, 2026 14:12
CarlSchwan
force-pushed
the
carl/ocp-console
branch
3 times, most recently
from
August 6, 2026 08:25
01f9170 to
26fa843
Compare
come-nc
reviewed
Aug 6, 2026
Contributor
|
I think I like the idea. |
CarlSchwan
force-pushed
the
carl/ocp-console
branch
2 times, most recently
from
August 10, 2026 11:43
5af75a7 to
3590a4e
Compare
4 tasks
ChristophWurst
approved these changes
Aug 10, 2026
CarlSchwan
force-pushed
the
carl/ocp-console
branch
from
August 10, 2026 17:36
3590a4e to
a2281d8
Compare
come-nc
approved these changes
Aug 11, 2026
CarlSchwan
enabled auto-merge
August 11, 2026 08:27
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
The API is inspired by modern command registration in Symfony/Console. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Make sure it is somewhat feature complete with the API used in Base. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Allow to change output depending on the verbosity set by the user. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Assisted-by: ClaudeCode:claude-opus-5 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Allow to ask questions and display a progress bar. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Instead use ask methods from IInput Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Now that we have all the required APIs Assisted-by: ClaudeCode:claude-opus-5 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
CarlSchwan
force-pushed
the
carl/ocp-console
branch
from
August 11, 2026 08:49
f2bdbb9 to
9f2cb1b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Inspired by the new API from symfony/console
This will allow us to remove all our ugly stubs in many apps.
Can be used either on a class:
Or on methods:
TODO
Checklist
3. to review, feature component)stable32)AI (if applicable)