cli-generate: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/cli-generate - from package: libbg1-dev

You may install the required package with command apt-get install {package}
Error in other languages:
cli-generate: bevel nie gevind nie
cli-generate: comandă negăsită
cli-generate: comando não encontrado
cli-generate: commande introuvable
cli-generate: command not found
cli-generate: käsku ei ole
cli-generate: không tìm thấy lệnh
cli-generate: komanda nerasta
cli-generate: Kommando nicht gefunden.
cli-generate: kommandot finns inte
cli-generate: komut yok
cli-generate: nie znaleziono polecenia
cli-generate: níor aimsíodh an t-ordú
cli-generate: no se encontró la orden
cli-generate: no s'ha trobat l'ordre
cli-generate: opdracht niet gevonden
cli-generate: parancs nem található
cli-generate: perintah tidak ditemukan
cli-generate: príkaz nenájdený
cli-generate: příkaz nenalezen
cli-generate: команда не найдена
cli-generate: командата не е открита
cli-generate: 命令找不到
cli-generate: コマンドが見つかりません