class Rails::Command::CredentialsCommand

def missing_credentials_message

def missing_credentials_message
  if credentials.key.nil?
    "Missing '#{key_path}' to decrypt credentials. See `bin/rails credentials:help`"
  else
    "File '#{content_path}' does not exist. Use `bin/rails credentials:edit` to change that."
  end
end