flow-development-collection icon indicating copy to clipboard operation
flow-development-collection copied to clipboard

FEATURE: Add level option to `configuration:show`

Open mhsdesign opened this issue 2 years ago • 2 comments

This introduces similar to https://github.com/neos/neos-development-collection/pull/4619 a --level option to flow configuration:show. It helps when inspecting large nested configuration parts and for scouting out only the first few keys:

➜  Framework git:(feature/addLevelOptionToConfigurationShow) ✗ flow configuration:show --path Neos.Neos.userInterface.inspector --level 2
Configuration "Settings: Neos.Neos.userInterface.inspector":

dataTypes:
    string: ...
    integer: ...
    boolean: ...
    array: ...
    Neos\Media\Domain\Model\ImageInterface: ...
    Neos\Media\Domain\Model\Asset: ...
    array<Neos\Media\Domain\Model\Asset>: ...
    DateTime: ...
    reference: ...
    references: ...
editors:
    Neos.Neos/Inspector/Editors/CodeEditor: ...
    Neos.Neos/Inspector/Editors/DateTimeEditor: ...
    Neos.Neos/Inspector/Editors/AssetEditor: ...
    Neos.Neos/Inspector/Editors/ImageEditor: ...
    Neos.Neos/Inspector/Editors/LinkEditor: ...
    Neos.Neos/Inspector/Editors/ReferencesEditor: ...
    Neos.Neos/Inspector/Editors/ReferenceEditor: ...
    Neos.Neos/Inspector/Editors/SelectBoxEditor: ...

Upgrade instructions

Review instructions

Checklist

  • [ ] Code follows the PSR-2 coding style
  • [ ] Tests have been created, run and adjusted as needed
  • [ ] The PR is created against the lowest maintained branch
  • [ ] Reviewer - PR Title is brief but complete and starts with FEATURE|TASK|BUGFIX
  • [ ] Reviewer - The first section explains the change briefly for change-logs
  • [ ] Reviewer - Breaking Changes are marked with !!! and have upgrade-instructions

mhsdesign avatar Nov 09 '23 08:11 mhsdesign

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

kitsunet avatar Nov 17 '23 15:11 kitsunet

But no youre right. I was a bit forcing the level option to go as bugfix into Neos 8.3 https://github.com/neos/neos-development-collection/pull/4619 i assume few people only use it since i introduced the whole nodetypes:show thing only with 8.3.

so im absolutely open for better suggestions and happy to rename the option in neos 9.

mhsdesign avatar Feb 05 '24 14:02 mhsdesign