func init and any func related commands do not work as listed on https://docs.microsoft.com/bs-latn-ba/azure/azure-functions/functions-create-first-azure-function-azure-cli?view=azure-devops-2019
one apparently cannot use cloud shell for that example as azure-functions-core-tools are not installed in the cloud shell.
appears also in an exercise of AZ-400T05-A - Implementing Application Infrastructure
$ func init
bash: func: command not found