drush cache:getfor drush 9x


Fetch a cached object and display it.

drush cache:get

  • Aliases


    cache:get has 2 alias/es:


    drush cg

    drush cache-get

  • Arguments


    cache:get accepts 2 argument/s:


    cid* : The id of the object to fetch.

    bin : The cache bin to fetch from.

  • Options


    cache:get accepts 6 option/s:


    --format

    --format : format

    --fields

    --fields : fields

    --field

    --field : field

    --notify

    --notify : notify

    --druplicon

    --druplicon : druplicon

    --xh-link

    --xh-link : xh-link

  • Examples


    Display the data for the cache id "hook_info" from the "bootstrap" bin.

    drush cache:get hook_info bootstrap

    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