On a repository with a nested file structure, common with java projects, there is no easy way to specify running Cobra across these files.
I suggest having the ability to run cobra like cobra --recursive "*.java" option or the ability to use recursive file globing such as **/*.java