I downloaded the sample webchat files and created a snap package using $ snapcraft snap. How do I run the snap?
webchat files https://github.com/ubuntu-core/snapcraft/tree/master/examples/webchat
$ snap list
Name Version Developer
ubuntu-core 16.04+20160419.20-55 canonical
webchat 0.0.1
$ webchat.run
command not found
$ snap webchat
error: Unknown command 'webchat'
webchat does work when I call it directly as follows
$ node /home/chris/software/snapcraft_test/parts/webchat/install/lib/node_modules/webchat-for-a-snap/webchat.js