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
FEATURE: Add level option to configuration:show
#3224
base: 9.0
Are you sure you want to change the base?
FEATURE: Add level option to configuration:show
#3224
Conversation
* @return void | ||
*/ | ||
public function showCommand(string $type = 'Settings', string $path = null) | ||
public function showCommand(string $type = 'Settings', string $path = null, int $level = 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Level suggests to me that it somehow starts at that level? Maybe truncateAfter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm true, i did it similar to neos/neos-development-collection#4619 to be consistent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so id keep at is okay?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as this is the level of how much will be shown and where its truncated.
Ah I see, forgot about the 8.3 because it is still a feature in my mind and shouldn't be in 8.3 ;) well then |
But no youre right. I was a bit forcing the so im absolutely open for better suggestions and happy to rename the option in neos 9. |
This introduces similar to neos/neos-development-collection#4619 a
--level
option toflow configuration:show
. It helps when inspecting large nested configuration parts and for scouting out only the first few keys:Upgrade instructions
Review instructions
Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions