The name is pretty self explanatory.
A perfect tool when you have to create a directory with files that all share the same name.
The only supported language is C++ for now.
- Unix system
- C++ compiler (e.g. clang++ or g++)
git clone https://github.com/TheFlyingWhale/cdf.git
cd cdf/
clang++ -std=c++17 -fcolor-diagnostics -fansi-escape-codes ./src/**/*.cpp -o cdf
chmod +x cdf
sudo mv cdf /usr/local/bin
cdf [name] [-v] [-s] [-h] [-i] [-d <definition>]
[name] - Name of directory and files
[-v] - Verbose
[-s] - Create source file
[-h] - Create header file
[-i] - Include import of header in source
[-d <definition>] Insert provided definition in header
cdf exampleCode -s -h -i -d EXAMPLE_CODE
Check out the included exampleDirectory to see the results.