cli-prompts.md

August 12, 2024 ยท View on GitHub

Take an existing package (your own, something you cloned today, or a package you use):

  • Study the existing user interface (which functions are used?).
  • Incrementally convert the UI-providing functions (e.g. message() or stop()) to its cli equivalent.

Look at the cli documentation, especially:

Find a couple of cli functions or techniques that intrigue you and use GitHub code search to look for examples of them in the wild.