Restic forget to read policy from environment or file

Hi,

when running restic forget it would be very convenient for me if it reads its policy from either environment variables or a configuration file. Because: version control, 12 factor app and what not else. Is that possible?

(Yes, I could add a thin shell wrapper and consider this as configuration file, but I’d prefer to avoid that extra layer.)

Thanks a lot in advance.

Kind regards,
Frank.

1 Like

That would be great! It’s the main reason for my shell wrapper which otherwise mostly consists of setting env variables.