Skip to content

Commit ab49056

Browse files
committed
GROOVY-8162: Update Groovysh to JLine3 (document /colors and /types)
1 parent 79382e7 commit ab49056

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed
589 KB
Loading
730 KB
Loading
359 KB
Loading

subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,13 @@ image:assets/img/repl_classloader.png[Classloader, width=80%]
268268
269269
Clears the screen.
270270
271+
[[GroovyShell-colors]]
272+
==== `/colors`
273+
274+
Displays the available colors.
275+
276+
image:assets/img/repl_colors.png[Colors, width=80%]
277+
271278
[[GroovyShell-del]]
272279
==== `/del`
273280
@@ -425,6 +432,13 @@ saved into the `.groovy/groovysh.ser` file in the user home directory.
425432
426433
Show the shared variables (the binding).
427434
435+
[[GroovyShell-types]]
436+
==== `/types`
437+
438+
Show the declared types (enums, interfaces, classes, traits, annotation definitions, and records).
439+
440+
image:assets/img/repl_types.png[Usage of the /types command, width=80%]
441+
428442
[[GroovyShell-history]]
429443
==== `/history`
430444

0 commit comments

Comments
 (0)