|
2 | 2 |
|
3 | 3 | ## Overview |
4 | 4 |
|
5 | | -This program provides a CLI tool to parse CSV files, filtering out columns & rows based on criteria specified in a configuration file (`config.json`). |
6 | | -Users can optionally override settings using command-line arguments, ensuring flexibility and adaptability to various use cases. |
| 5 | +This program provides a CLI tool to parse CSV files, filtering out columns & |
| 6 | +rows based on criteria specified in a configuration file (`.\config\config.json`). |
| 7 | +Users can optionally override settings using command-line arguments, |
| 8 | +ensuring flexibility and adaptability to various use cases. |
7 | 9 |
|
8 | 10 | ## Configuration |
9 | 11 |
|
10 | | -> In the follow example(s) `$ROOT` is the directory the binary/`.exe` resides in. |
| 12 | +> In the follow example(s) `$ROOT` is the directory of the binary file or `.exe`. |
11 | 13 |
|
12 | 14 | By default, the program will search for a config directory & config file in the following locations: |
13 | 15 | `$ROOT/config` & `$ROOT/config/config.json` respectively. |
14 | 16 |
|
15 | | -If the config folder or the config file is not found, |
16 | | -the program will generate a dummy config file with similar struct and values to the below snippet in a `config` directory in the root of the binary. |
| 17 | +If the config folder and/or the config file is not found, |
| 18 | +the program will generate a 'dummy' config file with similar structure & values to the snippet below. |
| 19 | +You can find the newly created file at `$ROOT/config/config.json`. |
17 | 20 |
|
18 | | -The configuration file (`config.json`) should be formatted as follows: |
| 21 | +The configuration file (`$ROOT/config/config.json`) should be formatted as follows: |
19 | 22 |
|
20 | 23 | ```json |
21 | 24 | { |
@@ -44,8 +47,8 @@ The configuration file (`config.json`) should be formatted as follows: |
44 | 47 | } |
45 | 48 | ``` |
46 | 49 |
|
47 | | -- Note: The code handles both Windows and Linux-style paths. |
48 | | - This does not mean the Filesystem you're interacting with via the tool will necessarily play nice. |
| 50 | +- Pro-Tip!: The code handles both Windows and Linux-style paths. |
| 51 | +That being said - Filesystem themselves may not play nicely if you're mixing OS paths. |
49 | 52 |
|
50 | 53 | ### Fields: |
51 | 54 |
|
|
0 commit comments