drush cache-get

Fetch a cached object and display it.

Drush Command

drush cache-get

Arguments

cid : The id of the object to fetch.
bin : Optional. The cache bin to fetch from.

Aliases

drush cg

Options

--format : [object Object]
--fields : [object Object]
--list-separator : [object Object]
--line-separator : [object Object]
--field-labels : [object Object]
--format=json : [object Object]
--format=php : [object Object]
--format=print-r : [object Object]
--format=var_export : [object Object]
--format=yaml : [object Object]

Examples

Display the data for the cache id "schema" from the "cache" bin.

drush cache-get schema
Display the data for the cache id "updateavailablereleases" from the "update" bin.
drush cache-get updateavailablereleases update