~/talk

Building a Service Oriented CLI: Best Practices

Talkat DevConf.CZ 2023 · 2023-06-16..06-18· [developer-experience]
links:none on file
slides:none on file

A production service (OCM) and its AWS-specific CLI (Rosa CLI) diverge when a new validating state is added to the service lifecycle; the CLI broke because it assumed the old initial state, forcing a compromised state order rather than shipping a new client to 100s of customers. Recommendation: keep the CLI thin, push business logic into the service, define a support two or three minor versions policy, and include automated CLI tests in CI to catch such regressions.

AI-written summary · about

  1. 0:00CLI service story introduction
  2. 3:11Building CLI for RESTful service
  3. 6:19CLI versus service functionality
  4. 9:09Thin CLI architecture best practices
  5. 11:55Key takeaways and closing
~/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.