awtfdb icon indicating copy to clipboard operation
awtfdb copied to clipboard

add api versioning to cli tools

Open lun-4 opened this issue 3 years ago • 0 comments

i've been writing external tools that integrate with awtfdb (closed-source) and what I do to integrate them together without going through the hurdle of wiring a C API and then link it together with python things (through ctypes), or shell scripts, is by treating the CLI as an API, so they autogenerate ainclude lines to run.

to future-proof this use-case, maybe ainclude --v1 could be made that treats all arguments as they currently are, and if i change it in a disruptive manner, make v1 compatible with future v2 of the CLI.

lun-4 avatar Jul 09 '22 16:07 lun-4