GROOVY(1)
π NAME π
Groovy β the agile dynamic language for the Java Virtual Machine π«Άβ¨ (it's a groovy(1) situation, bestie, section 1 of the General Commands Manual, iykyk)
π¦ DESCRIPTION π¦
okay so here's the whole vibe β the usage is literally this:
groovy [options] [args]
and then, options: π (every single one, no skips, we do not gatekeep π )
β¨ options: β¨
-D,--define <name=value>β you're defining a system property. that's the whole thing. go off. π-a,--autosplit <splitPattern>β automatically splits the current line for you (and lowkey the default is'\s', so it just knows) βοΈ-c,--encoding <charset>β say which encoding the files are in. be specific, bestie, files deserve to be understood π§-d,--debugβ debug mode!! it will print out full stack traces, like the entire dramatic backstory, no tea left unspilled π-e <script>β specify a command line script right there on the command line. main character energy β¨-h,--helpβ usage information, aka the cheat sheet π-i <extension>β modifies files in place, and it creates a backup if you give it an extension (e.g.'.bak'). protect yourself, queen π-l <port>β listens on a port and processes inbound lines. it's giving server era π-nβ processes files line by line π-pβ processes files line by line and prints the result. yes, both. we love a multitasker π-v,--versionβ displays the Groovy and JVM versions, so you can flex which ones you're running β
π₯ COMMANDS π₯
groovy:
the command that runs a set of Groovy statements β either ones you typed on the command line (with -e), or ones stored in a text file whose name you hand it on the command. π
example:
groovy -e 'System.in.readLines().each { println it }'
literally iconic. that one line ate. π
groovysh:
a terminal-based interpreter for Groovy. living in your shell, being cozy ππ
groovyConsole:
a GUI interpreter for composing Groovy interactively. windows and buttons but make it Groovy πͺβ¨
java2groovy:
the java2groovy tool reads class and interface definitions written in the Java programming language and converts them into groovy source files. glow-up service, fr fr π¦
πΈ SEE ALSO πΈ
π AUTHOR π
this manual page was generated using help2man and edited by Varun Hiremath <varun@debian.org>, for the Debian project (but may be used by others). king behaviour, honestly π
ok that's the whole page bestie, go forth and groovy π«Ά
December 2007, from the General Commands Manual (section 1) β that's the source and the date, wrapped up with a bow ππ
π¦ where this page comes from
- debian bookworm: groovy 2.4.21-8 Β· Apache-2.0
- debian trixie: groovy 2.4.21-10 Β· Apache-2.0
- ubuntu jammy: groovy 2.4.21-1 Β· Apache-2.0
- ubuntu noble: groovy 2.4.21-10 Β· Apache-2.0
- ubuntu questing: groovy 2.4.21-10
- ubuntu resolute: groovy 2.4.21-10build1 Β· Apache-2.0
- ubuntu stonking: groovy 2.4.21-10build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms