Skip to content

Feature request: Highlight created folders on generate dry runs #25558

@TimTCrouch

Description

@TimTCrouch

Command

generate

Description

When using the cli to generate new components, service, etc., if you are typing out the full path from the root to where you want the files created rather than navigating to that folder (which to me seems fairly common) if you misspell any part of the path, the cli does not know about the misspelling and takes this as a new path of folders to be created. Creating the new folders is of course necessary since users will add new folders into the path to be created intentionally. But it can take a bit to clean up a misspelling higher closer to the root in deeply nested paths.

Describe the solution you'd like

What feels like a fairly simple solution to this would be to lightly highlight any path segments that are going to be creating a new folder. This way the user can see if the folders being created match what they expect.

Describe alternatives you've considered

Currently the workaround is to type very slowly and carefully check every letter on deeply nested paths or navigate around the full structure of the application and run the command at the closest point to where the files will be generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions