---
name: "Prophet::CLI::RecordCommand"
section: "3pm"
platform: "linux"
package: "libprophet-perl"
version: "0.743-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/Prophet::CLI::RecordCommand"
---

# Prophet::CLI::RecordCommand(3pm)

### \_get\_record\_object \[{ type =\> 'type' }\]

Tries to determine a record class from either the given type argument or the current object's `$type` attribute.

Returns a new instance of the record class on success, or throws a fatal error with a stack trace on failure.

### \_load\_record

Attempts to load the record specified by the `"uuid"` attribute.

Returns the loaded record on success, or throws a fatal error if no record can be found.

### \_type\_to\_record\_class $type

Takes a type and tries to figure out a record class name from it. Returns `'Prophet::Record'` if no better class name is found.
