igniteui-cli icon indicating copy to clipboard operation
igniteui-cli copied to clipboard

[Core] Utils function does not properly generate path name

Open ViktorSlavov opened this issue 5 years ago • 0 comments

Description

Our utils function Util.lowerDashed does not properly generate a dashed name from a CamelCased input.

  • Ignite UI CLI version: 6.0.0
  • Framework: N/A

Steps to reproduce

Test Util.lowerDashedName("MyCamelCaseInput")

Result

Output is my-camel-case-input

Expected result

Output is mycamelcaseinput

Additional Info

This will be useful if we ever want to implement angular's ng g c schematic inside of our existing code. They properly dasherize a CamelCase input, where as we currently do not have such an implementation.

ViktorSlavov avatar Jul 09 '20 14:07 ViktorSlavov