RFC: 'snap connections' command
I’d like to open the proposed addtion of snap connections command for discussion. Before diving into the details of the API, I suggest we focus on the user story. The aim of
connections command is to list connected plugs/slots of all snaps (or given snap) in more readable output than
Proposed ouput (note plug comes first, this is reverse order compared to interfaces command):
- All existing connections, no filtering
$ snap connections Plug Slot spotify:home core:home spotify:mount-observe core:mount-observe spotify:unity7 core:unity7 vlc:unity7 core:unity7 vlc:removable-media core:removable-media .....
- Connections of specific snap(s) matched on both plug and slot side:
$ snap connections spotify Plug Slot spotify:home core:home spotify:mount-observe core:mount-observe spotify:unity7 core:unity7
Alternatively, we could break down the output into four columns (no colons between snap-plug/slot names). Is there anything more we want in terms of filtering?
Last updated 9 months ago. Help improve this document in the forum.