Skip to content

Command description incorrectly formatted #237

@slabbdev

Description

@slabbdev

Description

When generating a command using mineral make:command, the description is automatically formatted in PascalCase instead of preserving its original formatting. This affects readability and does not align with expected behavior.

Steps to Reproduce

  1. Run the following command:
    mineral make:command and set "This is a test command" as description

  2. Open the generated command file and observe that the description appears as "ThisIsATestCommand" instead of "This is a test command".

Expected Behavior

The description should retain its original formatting, including spaces and capitalization, rather than being converted to PascalCase.

Environment

• Mineral CLI version: ^4.0.0-dev.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions