← Back to context

Comment by GrinningFool

9 hours ago

A number of years ago I hacked together something conceptually similar [1]. It was for design and demonstration of CLI tooling (not TUI). It used its own DSL which included command definitions and demo output for invocations.

It created a replica CLI that behaved the way the real thing would, for quick prototyping and design feedback. The next step [2] would have been generating backend for different languages/libraries to create the actual CLI.

I lost the original sample "buddy" files but we did use it for prototyping a new Chef Workstation cli. Copies still haunt the Internet [3]

[1] defunct, https://github.com/marcparadise/clibuddy

[2] had I continued to need it

[3] https://github.com/gridgentoo/chef-workstation/blob/master/d...