Better Tool Library also comes with a CLI tool. After installation via setuptools (see above), you can use it as shown below.
btl --help
btl -f camotics create --help
btl fctooldir/ show all
(default for -f is freecad, so it can be omitted in that case)
btl fctooldir/ create tool endmill
btl fctooldir/ export -f camotics camoticstooldir/
btl fctooldir/ export -f linuxcnc linuxcnc.tbl
btl -f camotics camtest/ export -f freecad fctooldir/