Skip to content
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.

Add cache/logs command to console #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jnadaud
Copy link

@jnadaud jnadaud commented Nov 25, 2016

Add cache:clear and logs:clear commands in console

->setDescription('Clears the cache')
->setCode(function (InputInterface $input, OutputInterface $output) use ($app) {
$cacheDir = $app['cache.path'];
$finder = Finder::create()->in($cacheDir)->notName('.gitkeep');
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Silex-Skeleton uses .gitignore in both cache and logs directories.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants