Skip to content

Commit a719fa4

Browse files
rjgwizweitzman
authored andcommitted
Adding drush cache directory to core:status (#3623)
* Adding drush cache directory to drush status output. * Remove drush-cache-directory from default fields.
1 parent 3630f99 commit a719fa4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Commands/core/StatusCommands.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class StatusCommands extends DrushCommands implements SiteAliasManagerAwareInter
5151
* drush-script: Drush script
5252
* drush-version: Drush version
5353
* drush-temp: Drush temp
54+
* drush-cache-directory: Drush cache folder
5455
* drush-conf: Drush configs
5556
* drush-alias-files: Drush aliases
5657
* alias-searchpaths: Alias search paths
@@ -138,6 +139,7 @@ public function getPropertyList($options)
138139
$status_table['drush-script'] = DRUSH_COMMAND;
139140
$status_table['drush-version'] = Drush::getVersion();
140141
$status_table['drush-temp'] = $this->getConfig()->tmp();
142+
$status_table['drush-cache-directory'] = $this->getConfig()->cache();
141143
$status_table['drush-conf'] = Drush::config()->get('runtime.config.paths');
142144
// List available alias files
143145
$alias_files = $this->siteAliasManager()->listAllFilePaths();

0 commit comments

Comments
 (0)