lib/chamber/binary/runner.rb in chamber-2.2.0 vs lib/chamber/binary/runner.rb in chamber-2.2.1
- old
+ new
@@ -84,9 +84,13 @@
desc 'secure', 'Secures any values which appear to need to be encrypted in any of the settings files which match irrespective of namespaces'
method_option :only_sensitive,
type: :boolean,
default: true
+ method_option :dry_run,
+ type: :boolean,
+ aliases: '-d',
+ desc: 'Does not actually encrypt anything, but instead displays what values would be encrypted'
def secure
Commands::Secure.call(options)
end
desc 'init', 'Sets Chamber up matching best practices for secure configuration management'