awtfdb
awtfdb copied to clipboard
add api versioning to cli tools
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.