<div dir="ltr">You wont set the attribute of the slot/plug in the command line you use to connect slot and plug. Every attribute as to be set in the definition of the plug/slot. Like<div><br></div><div>plugs:</div><div> my-plug:</div><div> interface: really-awesome-interface</div><div> attribute1: value1</div><div> ...</div><div><br></div><div>Then you simply connect via</div><div><br></div><div>$ snap connect my-snap:my-plug ..</div><div><br></div><div>without specifying any attributes.</div><div><br></div><div>regards,</div><div>Simon</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 20, 2016 at 9:52 AM, Stuart Bishop <span dir="ltr"><<a href="mailto:stuart.bishop@canonical.com" target="_blank">stuart.bishop@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi.<br><br></div>I believe that slots will have support for arguments, for example allowing a snap to connect to the 'home' slot and provide an argument requesting access to hidden files.<br><br></div>Does anyone know what the command line interface will look like?<br><br></div>In the snap layer for Juju, I need to define the data structure to declare what additional connections need to be made after installation of the snap. I'd like to get this right the first time since I'm going to be stuck with it.<span class="HOEnZb"><font color="#888888"><br><div><div><div><div><br clear="all"><div><div><br>-- <br><div data-smartmail="gmail_signature">Stuart Bishop <<a href="mailto:stuart.bishop@canonical.com" target="_blank">stuart.bishop@canonical.com</a>></div>
</div></div></div></div></div></div></font></span></div>
<br>--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
<br></blockquote></div><br></div>