run cli commands on certain heroku apps code example
Example 1: download heroku ubuntu
$ sudo snap install --classic heroku
Example 2: heroku restart
heroku ps:restart web -a <my app name>
$ sudo snap install --classic heroku
heroku ps:restart web -a <my app name>