You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/cli.rst
+1-27
Original file line number
Diff line number
Diff line change
@@ -2781,30 +2781,4 @@ You can uninstall packages that were installed using ``sqlite-utils install`` wi
2781
2781
2782
2782
sqlite-utils uninstall beautifulsoup4
2783
2783
2784
-
Use ``-y`` to skip the request for confirmation.
2785
-
2786
-
.. _cli_tui:
2787
-
2788
-
Experimental TUI
2789
-
================
2790
-
2791
-
A TUI is a "text user interface" (or "terminal user interface") - a keyboard and mouse driven graphical interface running in your terminal.
2792
-
2793
-
``sqlite-utils`` has experimental support for a TUI for building command-line invocations, built on top of the `Trogon <https://github.com/Textualize/trogon/>`__ TUI library.
2794
-
2795
-
To enable this feature you will need to install the ``trogon`` dependency. You can do that like so:
2796
-
2797
-
.. code-block:: bash
2798
-
2799
-
sqlite-utils install trogon
2800
-
2801
-
Once installed, running the ``sqlite-utils tui`` command will launch the TUI interface:
2802
-
2803
-
.. code-block:: bash
2804
-
2805
-
sqlite-utils tui
2806
-
2807
-
You can then construct a command by selecting options from the menus, and execute it using ``Ctrl+R``.
2808
-
2809
-
.. image:: _static/img/tui.png
2810
-
:alt:A TUI interface for sqlite-utils - the left column shows a list of commands, while the right panel has a form for constructing arguments to the add-column command.
0 commit comments