Skip to content

Commit 8c2a592

Browse files
committed
docs: rename cli.rst to cli_controllers.rst
1 parent 1f566fb commit 8c2a592

3 files changed

Lines changed: 3 additions & 24 deletions

File tree

user_guide_src/source/cli/cli.rst renamed to user_guide_src/source/cli/cli_controllers.rst

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
############################
2-
Running via the Command Line
3-
############################
1+
###########################
2+
Running Controllers via CLI
3+
###########################
44

55
As well as calling an application's :doc:`Controllers </incoming/controllers>`
66
via the URL in a browser they can also be loaded via the command-line
@@ -10,27 +10,6 @@ interface (CLI).
1010
:local:
1111
:depth: 2
1212

13-
What is the CLI?
14-
================
15-
16-
The command-line interface is a text-based method of interacting with
17-
computers. For more information, check the `Wikipedia
18-
article <https://en.wikipedia.org/wiki/Command-line_interface>`_.
19-
20-
Why run via the command-line?
21-
=============================
22-
23-
There are many reasons for running CodeIgniter from the command-line,
24-
but they are not always obvious.
25-
26-
- Run your cron-jobs without needing to use *wget* or *curl*.
27-
- Make your cron-jobs inaccessible from being loaded in the URL by
28-
checking the return value of :php:func:`is_cli()`.
29-
- Make interactive "tasks" that can do things like set permissions,
30-
prune cache folders, run backups, etc.
31-
- Integrate with other applications in other languages. For example, a
32-
random C++ script could call one command and run code in your models!
33-
3413
Let's try it: Hello World!
3514
==========================
3615

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)