class PasswordChanger::Cli::Show

Public Instance Methods

config() click to toggle source
# File lib/password_changer/cli/show.rb, line 8
def config
  if options[:defaults]
    capture :stderr do
      puts PasswordChanger::ApplicationConfig.new(file: nil).to_s
    end
  else
    puts PasswordChanger.config.to_s
  end
end