~/talk

An introduction to creating CLI applications using picoCLI

Talkat J-Fall Virtual 2020 · 2020-11-03..11-06· [java, developer-experience]
links:none on file
slides:none on file

picoCLI demonstrates a minimal JVM library that builds a Star Wars HTTP-query CLI with annotated options, positional parameters and subcommands, plus a programmatic API to generate commands dynamically. It claims wide adoption (over 2 million monthly downloads; used by JUnit, AWS, Microsoft) and features completion, color/style support and doc generation. Native-image builds via GraalVM shrink startup from ~1.6–2s (JVM warm) to much lower at the cost of larger binaries (~16MB vs 2.3MB jar).

AI-written summary · about

  1. 0:00Introduction to picocli
  2. 1:26Why use CLI applications
  3. 2:30Demo overview and setup
  4. 3:52Basic CLI usage example
  5. 5:00Implementing options and parameters
  6. 7:26Subcommands for better UX
  7. 9:10Programmatic API demo
  8. 11:37Native compilation benefits
  9. 12:40Summary and use cases
  10. 14:06Conclusion and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.