ceeram/clear_cache — pull request #14 by rchavik (2013-09-21 07:19:11+00:00)
Title: Shell output

Don't spam users unless requested via -v. Useful if you have large number of cached items.

Normal output:

```
rachman@fingolfin $ Console/cake clear_cache.clear_cache
Files cleaned: 25

Engines cleaned: 16

$
```

Verbose output:

```
rachman@fingolfin $ Console/cake clear_cache.clear_cache -v
Files cleaned: 27

deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_acos
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_aros
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_aros_acos
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_blocks
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_comments
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_contacts
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_links
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_list
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_menus
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_messages
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_meta
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_nodes
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_nodes_taxonomies
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_regions
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_roles
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_taxonomies
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_terms
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_types
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_types_vocabularies
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_users
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/models/croogo_cake_model_default_croogo_vocabularies
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/persistent/croogo_cake_core_cake_eng
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/persistent/croogo_cake_core_croogo_en-us
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/persistent/croogo_cake_core_croogo_eng
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/persistent/croogo_cake_core_default_eng
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/persistent/croogo_cake_core_file_map
deleted: /home/rachman/work/personal/deploy/croogo/tmp/cache/persistent/croogo_cake_core_method_cache

Engines cleaned: 16

_cake_core_: cleared
_cake_model_: cleared
permissions: cleared
cached_settings: cleared
croogo_comments: cleared
contacts_view: cleared
nodes: cleared
nodes_view: cleared
nodes_promoted: cleared
nodes_term: cleared
nodes_index: cleared
croogo_menus: cleared
users_login: cleared
croogo_blocks: cleared
croogo_types: cleared
croogo_vocabularies: cleared

```