Skip to content

Commit 6cae580

Browse files
committed
docs: add spark commands
1 parent 81cad46 commit 6cae580

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

user_guide_src/source/libraries/caching.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,30 @@ $redis
7171

7272
The settings for the Redis server that you wish to use when using the ``Redis`` and ``Predis`` handler.
7373

74+
******************
75+
Command-Line Tools
76+
******************
77+
78+
CodeIgniter ships with several :doc:`commands </cli/spark_commands>` that are available
79+
from the command line to help you work with Cache.
80+
These tools are not required to use Cache driver but might help you.
81+
82+
cache:clear
83+
===========
84+
85+
Clears the current system caches::
86+
87+
> php spark cache:clear
88+
89+
cache:info
90+
==========
91+
92+
Shows file cache information in the current system::
93+
94+
> php spark cache:info
95+
96+
.. note:: This command only supports the File cache handler.
97+
7498
***************
7599
Class Reference
76100
***************

0 commit comments

Comments
 (0)