+:orphan:
-=============
-CephFS Shell
-=============
+===================================================
+cephfs-shell -- Shell-like tool talking with CephFS
+===================================================
+
+.. program:: cephfs-shell
+
+Synopsis
+========
+
+| **cephfs-shell** [options] [command]
+| **cephfs-shell** [options] -- [command, command,...]
+
+Description
+===========
CephFS Shell provides shell-like commands that directly interact with the
-:term:`Ceph File System`.
+Ceph File System.
This tool can be used in interactive mode as well as in non-interactive mode.
In former mode, cephfs-shell opens a shell session and after the given command
Behaviour of CephFS Shell can be tweaked using ``cephfs-shell.conf``. Refer to
`CephFS Shell Configuration File`_ for details.
-Usage :
+Options
+=======
- cephfs-shell [options] [command]
- cephfs-shell [options] -- [command, command,...]
+.. option:: -c, --config FILE
-Options :
- -c, --config FILE Path to cephfs-shell.conf
- -b, --batch FILE Path to batch file.
- -t, --test FILE Path to transcript(s) in FILE for testing
+ Path to cephfs-shell.conf
+.. option:: -b, --batch FILE
+
+ Path to batch file.
+
+.. option:: -t, --test FILE
+
+ Path to transcript(s) in FILE for testing
.. note::
Therefore, these options might vary with the version of ``cmd2`` installed on
your system. Refer to ``cmd2`` docs for a description of these options.
-Following is a sample ``cephfs-shell.conf``::
+Following is a sample ``cephfs-shell.conf``
+
+.. code-block:: ini
[cephfs-shell]
prompt = CephFS:~/>>>
+-----------------------------------------------+-----------+
| Interrupted function call | 22 |
+-----------------------------------------------+-----------+
+
+Files
+=====
+
+``~/.cephfs-shell.conf``