Skip to content

01Joseph-Hwang10/catc

Repository files navigation

catc: Configuration driven file concatenation tool

PyPI version Testsuite Python version Project Status Supported Interpreters License

catc (conCATenate by Configuration) is a file concatenation tool that allows you to concatenate files based on a configuration file.

Quick Start

First, install catc:

pip install catc

Then, create a catc.json file in the root of your project, and specify the files you want to concatenate:

{
  "files": [
    "src/file.txt",
    "src/lib/**/*.txt"
  ],
  "output": "dist/merged.txt",
  "separator": "\n"
}

Finally, run catc to concatenate the files:

catc <directory/to/catc.json>

API Documentation

TODO: description

Contributing

Any contribution is welcome! Check out CONTRIBUTING.md and CODE_OF_CONDUCT.md for more information on how to get started.

License

catc is licensed under a MIT License.