mirror of
https://github.com/restic/restic.git
synced 2026-03-12 01:01:23 +00:00
Instead of determining the password lazily during ReadPassword(), do so now in cobra.PersistentPreRunE() so we can store the result in the globalOptions and reuse/override when applicable without having to worry about the environment or flag options interfering.