Skip to content

Commit 2824070

Browse files
Document 'tt cfg' (#3722)
1 parent ff8dd02 commit 2824070

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

doc/reference/tooling/tt_cli/cfg.rst

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Environment configuration
2+
=========================
3+
4+
.. code-block:: bash
5+
6+
tt cfg COMMAND [command flags]
7+
8+
``tt cfg`` manages a ``tt`` environment :ref:`configuration <tt-config_file>`.
9+
10+
11+
Commands
12+
--------
13+
14+
.. container:: table
15+
16+
.. list-table::
17+
:widths: 20 80
18+
:header-rows: 0
19+
20+
* - ``dump``
21+
- Print a ``tt`` environment configuration.
22+
23+
Flags:
24+
25+
* ``-r``, ``--raw``: Print a raw content of the ``tt.yaml`` configuration file.
26+
27+
28+
Examples
29+
--------
30+
31+
The following command prints a ``tt`` environment configuration:
32+
33+
.. code-block:: bash
34+
35+
tt cfg dump

doc/reference/tooling/tt_cli/commands.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ help for the given command.
1616
- Build an application locally
1717
* - :doc:`cat <cat>`
1818
- Print the contents of ``.snap`` or ``.xlog`` files into stdout
19+
* - :doc:`cfg <cfg>`
20+
- Manage a ``tt`` environment configuration
1921
* - :doc:`check <check>`
2022
- Check an application file for syntax errors
2123
* - :doc:`clean <clean>`
@@ -64,6 +66,7 @@ help for the given command.
6466

6567
build <build>
6668
cat <cat>
69+
cfg <cfg>
6770
check <check>
6871
clean <clean>
6972
completion <completion>

0 commit comments

Comments
 (0)