ng g lib feature-chart-viewer --directory=chart
Creates the module name as ChartFeatureChartViewer
(not a better name for module). Provide option to customize the module name at least provide option for workspace specific schematic.
I was wondering myself if there is a reason for prefixing the module, because I thought the --directory parameter would be "the feature" for putting your (non-reuseable) app-modules in libs subdir, or putting several shared modules in a "shared" subdir.
I also have no control of my module names when using the directory option. Is there a reason for this functionality? I see I can manually edit the module name and edit the config without a problem but it would be nice to use the cli.
@vsavkin I think we can add option --skipModulePrefix for --directory or something like that.
Most helpful comment
@vsavkin I think we can add option --skipModulePrefix for --directory or something like that.