You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
sorry for the delay in the answer, I'm a little bit busy in this period 🙁
Anyway, I like your idea but I need to think a little bit about how we can implement this without break all the cases that the tool managed.
In the next days I'll work on other things and when I have time to think about it I'll do.
If you want, you can try to contribute, I appreciate a lot of contributions to the project 🏆
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?
The text was updated successfully, but these errors were encountered: