Idea: Support multiple configurations within a single repomix.config.json #325
Labels
enhancement
New feature or request
needs discussion
Issues needing discussion and a decision to be made before action can be taken
There are times when I'm workin non a large project which has multiple subdirectories within it.
If I'm only working inside of one of the subdirectories and I use repomix on the entire project it will be a massive file and a waste of tokens.
I would like to be able to place a
repomix.config.json
file at the root of the project and define a default config which packs the entire project by runningBut then I would like to be able to pack a specific subdirectory by specifying a configuration such as
or
The config file could look something like this:
Where if the
default
config is applied ifnpx repomix
is called without any arguments.Many other projects support similar configs, for example when building an angular project you can specify the build configuration like this:
Where the
production
configuration is defined inside theangular.json
file.The text was updated successfully, but these errors were encountered: