From 920d690d90409d3b190f2a3f05343953e1144ac4 Mon Sep 17 00:00:00 2001 From: gary houbre Date: Mon, 2 Dec 2019 18:54:54 +0100 Subject: [PATCH 1/2] Added new Alias For Clear cache --- src/Composer/Command/ClearCacheCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/ClearCacheCommand.php b/src/Composer/Command/ClearCacheCommand.php index 08ec04701..80e63d8ec 100644 --- a/src/Composer/Command/ClearCacheCommand.php +++ b/src/Composer/Command/ClearCacheCommand.php @@ -26,7 +26,7 @@ class ClearCacheCommand extends BaseCommand { $this ->setName('clear-cache') - ->setAliases(array('clearcache')) + ->setAliases(array('clearcache', 'cc')) ->setDescription('Clears composer\'s internal package cache.') ->setHelp( << Date: Wed, 4 Dec 2019 11:41:39 +0100 Subject: [PATCH 2/2] Added Documentation from new alias --- doc/03-cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/03-cli.md b/doc/03-cli.md index d73f5a81e..eccafbcc0 100644 --- a/doc/03-cli.md +++ b/doc/03-cli.md @@ -706,7 +706,7 @@ performance. * **--apcu:** Use APCu to cache found/not-found classes. * **--no-dev:** Disables autoload-dev rules. -## clear-cache (clearcache) +## clear-cache / clearcache / cc Deletes all content from Composer's cache directories.