drush state-getfor drush 8x


Display a state value.

drush state-get

  • Aliases


    state-get has 1 alias/es:


    drush sget

  • Arguments


    state-get accepts 1 argument/s:


    key : The key name.

  • Options


    state-get accepts 18 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=config

    --format=config : format=config

    --format=csv

    --format=csv : format=csv

    --format=html

    --format=html : format=html

    --format=labeled-export

    --format=labeled-export : format=labeled-export

    --format=list

    --format=list : format=list

    --format=php

    --format=php : format=php

    --format=print-r

    --format=print-r : format=print-r

    --format=string

    --format=string : format=string

    --format=table

    --format=table : format=table

    --format=var_export

    --format=var_export : format=var_export

    --format=variables

    --format=variables : format=variables

    --format=yaml

    --format=yaml : format=yaml

  • Examples


    Displays last cron run timestamp

    drush state-get system.cron_last

  • Comments


    comments powered by Disqus