listing all the interfaces / sockets?

Mark Shuttleworth mark at ubuntu.com
Fri Jul 1 05:35:37 UTC 2016


On 30/06/16 19:38, Bill Janssen wrote:
>
>> 'snap interfaces -a' might
>> for example show you available but unused slots / plugs.
> $ snap interfaces -a
> error: unknown flag `a'
>

Yeah, it doesn't exist yet, I was pointing the way to a "tell me about
all the *possible* interfaces" patch on snapd for you or someone else
who feels inspired :)

So someone who wanted to know about the interfaces could do something
like this (rather than trawl the source):

  $ snap interfaces -a
  Interface      Description
  camera         Provides access to a V4L2 video camera
  cups-control   Allows printing
  ...
  x11            Steals all the things

Mark





More information about the Snapcraft mailing list