I am new to creating snaps, but close to get one working, my only problem is that this particular software has multiple commands, that I would like to expose. I have spend ~2 weeks on and off to look for something, with examples, but still have not been successful
I could probably write an install hook, and add symbolic links in /snap/bin, but not sure if that is the right approach
With this definition, a user can run these commands using rpi-userland-arif-ali.dtmerge and rpi-userland-arif-ali.dtoverlay etc.
However, if I understand it correctly, you want users to be able to run dtmerge and dtoverlay in their terminal, without the rpi-userland-arif-ali prefix, right?
This is not something you can configure yourself in your snap. You will need to request an “alias” for each of these commands. For example, you’ll need to request the alias dtmerge for the command rpi-userland-arif-ali.dtmerge. You can request aliases by creating a post on this forum in the store-requests category. See Commands and aliases for more information.