Hi,
This blog post (https://insights.ubuntu.com/2017/01/28/ubuntu-core-how-to-enable-aliases-for-your-snaps-commands/) states that one needs to add aliases: to snapcraft.yml to be able to use aliases but in the example below postgresql93.pgdump command does not have an associated aliases: entity at all and yet it works:
$ sudo snap install --force-dangerous postgresql93_9.3.17_amd64.snap
postgresql93 9.3.17 installed
$ snap aliases
Command Alias Notes
$ snap alias postgresql93.pgdump blah
Added:
- postgresql93.pgdump as blah
$ snap aliases
Command Alias Notes
postgresql93.pgdump blah manual
This is 2.25 (snap and snapd).
Did something change?