class Rails::Generators::CredentialsGenerator

def add_credentials_file

:nodoc:
def add_credentials_file
  unless credentials.content_path.exist?
    template = credentials_template
    say "Adding #{credentials.content_path} to store encrypted credentials."
    say ""
    say "The following content has been encrypted with the Rails master key:"
    say ""
    say template, :on_green
    say ""
    add_credentials_file_silently(template)
    say "You can edit encrypted credentials with `bin/rails credentials:edit`."
    say ""
  end
end