Skip to content

Commit 6704da9

Browse files
committed
docs: move note up
1 parent da8ecfa commit 6704da9

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

user_guide_src/source/cli/cli_controllers.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ 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
77
interface (CLI).
88

9+
.. note:: It is recommended to use Spark Commands for CLI scripts instead of
10+
calling controllers via CLI.
11+
See the :doc:`spark_commands` page for detailed information.
12+
913
.. contents::
1014
:local:
1115
:depth: 2
@@ -85,6 +89,3 @@ If you want to make sure running via CLI, check the return value of :php:func:`i
8589
However, CodeIgniter provides additional tools to make creating CLI-accessible
8690
scripts even more pleasant, include CLI-only routing, and a library that helps
8791
you with CLI-only tools.
88-
89-
.. note:: It is recommended to use Spark Commands for CLI scripts instead of calling controllers via CLI.
90-
See the :doc:`spark_commands` page for detailed information.

0 commit comments

Comments
 (0)