class Rails::Command::CredentialsCommand

def ensure_credentials_have_been_added

def ensure_credentials_have_been_added
  if options[:environment]
    encrypted_file_generator.add_encrypted_file_silently(content_path, key_path)
  else
    credentials_generator.add_credentials_file_silently
  end
end