class Rails::Command::EncryptedCommand
def missing_encrypted_message(key:, key_path:, file_path:)
def missing_encrypted_message(key:, key_path:, file_path:) if key.nil? "Missing '#{key_path}' to decrypt data. See `bin/rails encrypted:help`" else "File '#{file_path}' does not exist. Use `bin/rails encrypted:edit #{file_path}` to change that." end end