This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit ab49056d2cf2b1c26a7aae81aba438021eaa0442
Author: Paul King <pa...@asert.com.au>
AuthorDate: Mon Aug 4 13:27:58 2025 +1000

    GROOVY-8162: Update Groovysh to JLine3 (document /colors and /types)
---
 .../src/spec/doc/assets/img/repl_classloader.png       | Bin 0 -> 603259 bytes
 .../src/spec/doc/assets/img/repl_colors.png            | Bin 0 -> 747095 bytes
 .../src/spec/doc/assets/img/repl_types.png             | Bin 0 -> 368103 bytes
 subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc |  14 ++++++++++++++
 4 files changed, 14 insertions(+)

diff --git 
a/subprojects/groovy-groovysh/src/spec/doc/assets/img/repl_classloader.png 
b/subprojects/groovy-groovysh/src/spec/doc/assets/img/repl_classloader.png
new file mode 100644
index 0000000000..fed0f34d2f
Binary files /dev/null and 
b/subprojects/groovy-groovysh/src/spec/doc/assets/img/repl_classloader.png 
differ
diff --git 
a/subprojects/groovy-groovysh/src/spec/doc/assets/img/repl_colors.png 
b/subprojects/groovy-groovysh/src/spec/doc/assets/img/repl_colors.png
new file mode 100644
index 0000000000..32e3ec22af
Binary files /dev/null and 
b/subprojects/groovy-groovysh/src/spec/doc/assets/img/repl_colors.png differ
diff --git a/subprojects/groovy-groovysh/src/spec/doc/assets/img/repl_types.png 
b/subprojects/groovy-groovysh/src/spec/doc/assets/img/repl_types.png
new file mode 100644
index 0000000000..4d425114c4
Binary files /dev/null and 
b/subprojects/groovy-groovysh/src/spec/doc/assets/img/repl_types.png differ
diff --git a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc 
b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
index 45917bd3a8..2d3966d139 100644
--- a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
+++ b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
@@ -268,6 +268,13 @@ image:assets/img/repl_classloader.png[Classloader, 
width=80%]
 
 Clears the screen.
 
+[[GroovyShell-colors]]
+==== `/colors`
+
+Displays the available colors.
+
+image:assets/img/repl_colors.png[Colors, width=80%]
+
 [[GroovyShell-del]]
 ==== `/del`
 
@@ -425,6 +432,13 @@ saved into the `.groovy/groovysh.ser` file in the user 
home directory.
 
 Show the shared variables (the binding).
 
+[[GroovyShell-types]]
+==== `/types`
+
+Show the declared types (enums, interfaces, classes, traits, annotation 
definitions, and records).
+
+image:assets/img/repl_types.png[Usage of the /types command, width=80%]
+
 [[GroovyShell-history]]
 ==== `/history`
 

Reply via email to