[CB-3542] rewrote cli tooling scripts in node