Currently, only a single script is supported by the -a / --anon-script option. We need to support multiple scripts without restarting the service. This could be accomplished by:
- Allowing the
-a argument also to support use of a directory
- When a directory is passed, all scripts inside the directory are loaded and registered
- They could be registered by filename or checksum
- When in this mode, requests to anonymise a file must also specify the script to use, returning an appropriate error if the script is unspecified or missing
Currently, only a single script is supported by the
-a/--anon-scriptoption. We need to support multiple scripts without restarting the service. This could be accomplished by:-aargument also to support use of a directory