drush cache-getfor drush 7x
Fetch a cached object and display it.
drush cache-get
-
Aliases
cache-get has 1 alias/es:
drush cg
-
Arguments
cache-get accepts 2 argument/s:
cid : The id of the object to fetch.
bin : Optional. The cache bin to fetch from.
-
Options
cache-get accepts 10 option/s:
--format
--format : format
--fields
--fields : fields
--list-separator
--list-separator : list-separator
--line-separator
--line-separator : line-separator
--field-labels
--field-labels : field-labels
--format=json
--format=json : format=json
--format=php
--format=php : format=php
--format=print-r
--format=print-r : format=print-r
--format=var_export
--format=var_export : format=var_export
--format=yaml
--format=yaml : format=yaml
-
Examples
Display the data for the cache id "schema" from the "cache" bin.
drush cache-get schema
Display the data for the cache id "update_available_releases" from the "update" bin.
drush cache-get update_available_releases update
-
Comments
comments powered by Disqus