Add fallback config file search feature
- Added a section on fallback configuration file search in `README.md` - Explained searching for configuration files in the user's home directory under `~\.ait\*` - Mentioned the option to provide a user-wide configuration file in the `~\.ait\` directory
This commit is contained in:
@@ -60,6 +60,12 @@ python ait.py --config custom
|
|||||||
|
|
||||||
This command will look for a configuration file named `ait.custom.config`.
|
This command will look for a configuration file named `ait.custom.config`.
|
||||||
|
|
||||||
|
### Fallback Configuration File search
|
||||||
|
|
||||||
|
As a fallback, if no configuration file is found, the script will search for it in the user's home directory under `~\.ait\*`.
|
||||||
|
|
||||||
|
You can also provide a user wide configuration file by placing it in the `~\.ait\` directory.
|
||||||
|
|
||||||
### Command-Line Options
|
### Command-Line Options
|
||||||
|
|
||||||
- `--config`: Path to a JSON config file or a keyword to identify a specific config (`ait.<KEYWORD>.config`). Default is `ait.config.json`.
|
- `--config`: Path to a JSON config file or a keyword to identify a specific config (`ait.<KEYWORD>.config`). Default is `ait.config.json`.
|
||||||
|
Reference in New Issue
Block a user