Permalink
Browse files

Documenting the new command line task

  • Loading branch information...
Kevin Boyd
Kevin Boyd committed Nov 19, 2011
1 parent d9efe45 commit 0340b5c25ac70bd76d0d091921488fbd29592c84
Showing with 14 additions and 0 deletions.
  1. +14 −0 README.md
View
@@ -28,6 +28,20 @@ And then you should be good to go:
You might want to set up a service alias, since "$this->get( 'beryllium_cache' )" might be a bit long.
+# The Command Line #
+
+For a command line report of CacheClient statistics (assuming the cache client has a ->getStats method, which is not an interface requirement), you can do the following:
+
+ app/console cacheclient:stats
+
+Or, for extended information (the raw stats array), you can run with debugging enabled:
+
+ app/console cacheclient:stats --debug
+
+Help is available, although brief:
+
+ app/console help cacheclient:stats
+
# The Future #
Currently there aren't any unit or functional tests. So that needs to be worked on.

0 comments on commit 0340b5c

Please sign in to comment.