Skip to content

Stop eecli.php messing up capitalised words when generating addons ...  #4324

@jcogs-design

Description

@jcogs-design

Description of the problem
Say you want to create an add-on called "JCOGS Cats"
When the CLI thing generates the add-on the addon name becomes ... "j_c_o_g_s_cats"
The module class becomes "J_c_o_g_s_cats"
Not sure why this is.
It is tedious to have to go through and remove all the _ characters ...

Environment Details:

  • Version: EE 7.4.9
  • PHP Version 8.3.6

Possible Solution
Don't insert the unnecessary _ characters ... ?

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