Structure an organize configuration file
mainAn organize configuration file can be written in YAML or JSON. The top-level element must be a dictionary containing a rules key, which holds a list of rule objects. Each rule object must include locations and actions keys.
Rules are processed in order: from top to bottom for rules, then top to bottom for locations, then top to bottom for filters, and finally top to bottom for actions.
rules:
- locations: "~/Desktop"
actions:
- echo: "Hello World!"