1 description: 'Generate a cache context'
2 help: 'The <info>generate:cache:context</info> command helps you generates a new cache context'
3 welcome: 'Welcome to the Drupal Cache Context generator'
5 module: 'The Module name.'
6 name: 'The cache context name'
7 class: 'Cache context class name'
9 module: 'Enter the module name'
10 name: 'Enter the cache context name'
11 class: 'Cache context class name'
13 - description: 'Generate cache for a context specifying the module, the context name and its class'
15 drupal generate:cache:context \
16 --module="modulename" \
17 --cache-context="ContextName" \
18 --class="DefaultCacheContext"