Files
Mahmoud Ben Hassine e3cb93791d Update documentation
2025-04-25 10:13:56 +02:00

15 lines
453 B
Plaintext

[[tui-introduction]]
= Introduction
:page-section-summary-toc: 1
ifndef::snippets[:snippets: ../../../../../src/test/java/org/springframework/shell/docs]
Let's start with a simple app which prints "hello world" in a view.
[source, java, indent=0]
----
include::{snippets}/TerminalUiSnippets.java[tag=introsample]
----
There is not much to see here other than `TerminalUI` is a class handling
all logic around views and uses `View` as it's root view.