Skip to content
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

Command description incorrectly formatted #237

Open
bZez opened this issue Feb 25, 2025 · 0 comments
Open

Command description incorrectly formatted #237

bZez opened this issue Feb 25, 2025 · 0 comments

Comments

@bZez
Copy link

bZez commented Feb 25, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant