The big advantage of a language like JavaScript of Python for a CLI tool of this nature is that they naturally support adding extensions or plugins.
That's quite a bit harder if your tool is built using a compiled language like Go.