Skip to content

Proposal: Searching for config file from . to / #61

@croogie

Description

@croogie

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions