Yes, but that command is officially deprecated, see "snap interfaces
--help", and I'd prefer not to present commands in, say, a SC101 class that
might disappear without warning.
On Wed, May 10, 2023 at 8:37 AM Sergio Cazzolato <email address hidden>
wrote:
> Hello,
> Did you try 'snap interfaces <snap-name>' command?
> Is that what you need?
>
> Thanks
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2017310
>
> Title:
> Can "snap info" be extended to list a snap's plugs and slots?
>
> Status in snapd:
> New
>
> Bug description:
> I think it would be useful if there was some way to ask the question,
> "What plugs and slots are defined for snap X?" For instance, if I run:
> ```
> $ snap connections ubuntu-frame
> Interface Plug Slot
> Notes
> content -
> ubuntu-frame:ubuntu-frame-diagnostic -
> content[graphics-core20] ubuntu-frame:graphics-core20
> mesa-core20:graphics-core20 -
> hardware-observe ubuntu-frame:hardware-observe
> :hardware-observe -
> login-session-control ubuntu-frame:login-session-control -
> -
> network-bind ubuntu-frame:network-bind
> :network-bind -
> opengl ubuntu-frame:opengl :opengl
> -
> wayland -
> ubuntu-frame:wayland -
> x11 ubuntu-frame:x11 :x11
> ```
> I can see that ubuntu-frame has a slot for wayland, but it would be more
> convenient if I could just ask, "What plugs and slots are defined by
> ubuntu-frame?" It seems as if "snap info" still has lots of room to display
> more info if one uses "--verbose", would it be hard to add this info to the
> output?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/snapd/+bug/2017310/+subscriptions
>
>
Yes, but that command is officially deprecated, see "snap interfaces
--help", and I'd prefer not to present commands in, say, a SC101 class that
might disappear without warning.
On Wed, May 10, 2023 at 8:37 AM Sergio Cazzolato <email address hidden>
wrote:
> Hello, /bugs.launchpad .net/bugs/ 2017310 frame:ubuntu- frame-diagnosti c - graphics- core20] ubuntu- frame:graphics- core20 graphics- core20 - frame:hardware- observe control ubuntu- frame:login- session- control - frame:network- bind frame:wayland - /bugs.launchpad .net/snapd/ +bug/2017310/ +subscriptions
> Did you try 'snap interfaces <snap-name>' command?
> Is that what you need?
>
> Thanks
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Can "snap info" be extended to list a snap's plugs and slots?
>
> Status in snapd:
> New
>
> Bug description:
> I think it would be useful if there was some way to ask the question,
> "What plugs and slots are defined for snap X?" For instance, if I run:
> ```
> $ snap connections ubuntu-frame
> Interface Plug Slot
> Notes
> content -
> ubuntu-
> content[
> mesa-core20:
> hardware-observe ubuntu-
> :hardware-observe -
> login-session-
> -
> network-bind ubuntu-
> :network-bind -
> opengl ubuntu-frame:opengl :opengl
> -
> wayland -
> ubuntu-
> x11 ubuntu-frame:x11 :x11
> ```
> I can see that ubuntu-frame has a slot for wayland, but it would be more
> convenient if I could just ask, "What plugs and slots are defined by
> ubuntu-frame?" It seems as if "snap info" still has lots of room to display
> more info if one uses "--verbose", would it be hard to add this info to the
> output?
>
> To manage notifications about this bug go to:
> https:/
>
>