Sync
Organising your Extra Horizon configuration
The exh
client has a global sync command for synchronizing your Schema, Tasks, Templates, Dispatchers and Localizations using a single command.
exh sync
will sync your current directory. While
exh sync --path /your/path/here
will allow you to specify exactly which directory you want to sync, by default the CLI will try to sync the Extra Horizon configuration using a default file structure.
Default configuration
The Extra Horizon CLI by default will execute the relevant commands for these subfolders:
Command
Path
./schemas
./templates
./tasks
./localizations
./dispatchers.json
Custom configuration
In case this is not the directory layout you prefer, these locations can be customized by creating a repo-config.json
in the top directory. Example:
{
"schemas": [
"./path/to/my-schemas",
"./another/path/to/schemas"
],
"templates": [
"./path/to/templates",
"./another/path/to/templates"
],
"tasks": [
"./path/to/tasks",
"./another/path/to/tasks"
],
"localizations": [
"./path/to/localizations",
"./another/path/to/localizations"
]
}
Last updated