@@ -11,13 +11,15 @@ both navigate the content hierarchy and execute queries.
1111 See the chapter on :ref: `phpcrsh_configuration_aliases ` for more information.
1212
1313This chapter aims to highlight some but not all of the features of the shell. For a full
14- list of features use the ``list `` command.
14+ list of commands use the ``list `` command.
15+
16+ For help with a specific command use the ``--help `` option.
1517
1618The current path
1719----------------
1820
19- You can navigate the content hierarchy using the :ref: ` phpcr_shell_command_shellpathchange ` (or `cd ` for short). The
20- `pwd ` command is the alias for :ref: ` phpcr_shell_command_shellpathshow ` and displays the current working path:
21+ You can navigate the content hierarchy using `` shell:path:change ` ` (or `cd ` for short). The
22+ `pwd ` command is the alias for `` shell:path:show ` ` and displays the current working path:
2123
2224.. code-block :: bash
2325
@@ -30,11 +32,12 @@ You can navigate the content hierarchy using the :ref:`phpcr_shell_command_shell
3032 Listing node contents
3133---------------------
3234
33- You can list the contents of a node with the :ref: ` phpcr_shell_command_nodelist ` command (or `ls `):
35+ You can list the contents of a node with the `` node:list ` ` command (or `ls `):
3436
3537.. code-block :: bash
3638
3739 PHPCRSH > ls
40+ /
3841 +-----------------+-----------------+-----------------+
3942 | cms/ | nt:unstructured | |
4043 | jcr:primaryType | NAME | nt:unstructured |
@@ -45,6 +48,7 @@ Which also accepts a target:
4548.. code-block :: bash
4649
4750 PHPCRSH > ls cms
51+ /cms
4852 +--------------------+-----------------+-----------------------------------+
4953 | pages/ | nt:unstructured | |
5054 | posts/ | nt:unstructured | |
@@ -60,6 +64,7 @@ And a depth:
6064.. code-block :: bash
6165
6266 PHPCRSH > ls -L2
67+ /
6368 +--------------------------------------------------------------------------+-----------------+-----------------------------------+
6469 | cms/ | nt:unstructured | |
6570 | pages/ | nt:unstructured | |
@@ -87,12 +92,14 @@ node properties and children which are defined in the schema with the ``-t`` opt
8792.. code-block :: bash
8893
8994 PHPCRSH> ls
95+ /cms/foo
9096 +--------------------+-------------------------+------------------------------------------------+
9197 | home | slinpTest:article | Home |
9298 | jcr:primaryType | NAME | slinpTest:article |
9399 | title | STRING | Slinp Web Content Framework |
94100 +--------------------+-------------------------+------------------------------------------------+
95101 PHPCRSH> ls -T
102+ /cms/foo
96103 +--------------------+-------------------------+------------------------------------------------+
97104 | home | slinpTest:article | Home |
98105 | @* | nt:base | |
@@ -150,8 +157,8 @@ Saving and refreshing the session
150157---------------------------------
151158
152159Changes made to nodes in the session are not persisted immediately (with the exception
153- of :ref: ` phpcr_shell_command_nodecopy ` which is a workspace command).
160+ of `` node:copy ` ` which is a workspace command).
154161
155- To persist changes to the repository you must call :ref: ` phpcr_shell_command_sessionsave ` (or ``save ``).
162+ To persist changes to the repository you must call `` session:save ` ` (or ``save ``).
156163
157- You can also refresh (or reset) the session by calling :ref: ` phpcr_shell_command_sessionrefresh ` (or ``refresh ``).
164+ You can also refresh (or reset) the session by calling `` session:refresh ` ` (or ``refresh ``).
0 commit comments