Reserved project names and cooperative transfer of ownership
Joseph Rushton Wakeling
joseph.wakeling at webdrake.net
Thu Mar 30 00:16:38 UTC 2017
On 27/03/17 04:46, Michael Hall wrote:
> Good news, that's already there! In each appname section in your "apps:"
> definitions you can add a property names "aliases" that takes a yaml
> list of names you want to use. For example:
> name: snapname
> command: foo
> aliases: [bar]
> By default this will give you /snap/bin/snapname.appname
> But then if you run the command: "snap alias mysnap bar" you will get
> /snap/bin/bar which you can invoke with just "bar" from the commandline.
> Instead of "bar" you can use "appname" or anything else you want to make
> an alias for that app.
> This still requires a manual step after installing your snap to enable
> the alias, but we're working out a process to allow it to be
> auto-enabled, which I'm sure will be announced on this list once it's
Sounds cool! But what if the 'alias' I want is ... just `foo` itself? I take
it that for now I still need to create the `aliases` section, just repeating the
existing app command name?
More information about the Snapcraft