mirror of
https://github.com/offen/docker-volume-backup.git
synced 2026-04-30 20:25:35 +02:00
Add "print-config" subcommand (#698)
* Add "show-config" subcommand * Add integration tests * Handle wrong additional args * Support "BackupFilenameExpand" option * Rename to print-config * Remove config nil check as it will never be nil * Rework print config to work with config.resolve() * Use defer unset() * Add warning about feature not being stable yet
This commit is contained in:
2
test/print-config/conf.d/01print-config.env
Normal file
2
test/print-config/conf.d/01print-config.env
Normal file
@@ -0,0 +1,2 @@
|
||||
BACKUP_SOURCES=/conf-backup
|
||||
NOTIFICATION_URLS_FILE=/run/secrets/notification_urls
|
||||
Reference in New Issue
Block a user