-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
Description
It would be great to don't call the script in the directory where .ccarc
is but rather call it from some child directory eg. src/main/components
.
What create-component-app can do then is that he will look for .ccarc
file starting from current directory to every parent directory (so ..
,../..
etc) till he find config file (similarly how node look for node_modules dir).
When config file will be found then you can assume that path
param is not needed. Script should create files where it has been executed.
This may be quite a change but I think it will be more usable then passing everytime --path parameter (which btw is not that bad - but for sure can be better).
What do you think about that?
CVarisco