<?xml version='1.0'?> <!--*-nxml-*-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

<refentry id="xdg-app-ls-remote">

    <refentryinfo>
        <title>xdg-app ls-remote</title>
        <productname>xdg-app</productname>

        <authorgroup>
            <author>
                <contrib>Developer</contrib>
                <firstname>Alexander</firstname>
                <surname>Larsson</surname>
                <email>alexl@redhat.com</email>
            </author>
        </authorgroup>
    </refentryinfo>

    <refmeta>
        <refentrytitle>xdg-app ls-remote</refentrytitle>
        <manvolnum>1</manvolnum>
    </refmeta>

    <refnamediv>
        <refname>xdg-app-ls-remote</refname>
        <refpurpose>Show available runtimes and applications</refpurpose>
    </refnamediv>

    <refsynopsisdiv>
            <cmdsynopsis>
                <command>xdg-app ls-remote</command>
                <arg choice="opt" rep="repeat">OPTION</arg>
                <arg choice="plain">REMOTE</arg>
            </cmdsynopsis>
    </refsynopsisdiv>

    <refsect1>
        <title>Description</title>

        <para>
            Shows runtimes and applications that are available in the
            remote repository with the name <arg choice="plain">REMOTE</arg>.
            You can find all configured remote repositories with xdg-app list-repos.
        </para>
        <para>
            Unless overridden with the --user option, this command uses
            the system-wide configuration.
        </para>

    </refsect1>

    <refsect1>
        <title>Options</title>

        <para>The following options are understood:</para>

        <variablelist>
            <varlistentry>
                <term><option>-h</option></term>
                <term><option>--help</option></term>

                <listitem><para>
                    Show help options and exit.
                </para></listitem>
            </varlistentry>

            <varlistentry>
                <term><option>--user</option></term>

                <listitem><para>
                    Use the per-user configuration.
                </para></listitem>
            </varlistentry>

            <varlistentry>
                <term><option>--system</option></term>

                <listitem><para>
                    Use the system-wide configuration.
                </para></listitem>
            </varlistentry>

            <varlistentry>
                <term><option>--show-details</option></term>

                <listitem><para>
                    Show arches and branches, in addition to the names.
                </para></listitem>
            </varlistentry>

            <varlistentry>
                <term><option>--runtimes</option></term>

                <listitem><para>
                    Show only runtimes, omit applications.
                </para></listitem>
            </varlistentry>

            <varlistentry>
                <term><option>--apps</option></term>

                <listitem><para>
                    Show only applications, omit runtimes.
                </para></listitem>
            </varlistentry>

            <varlistentry>
                <term><option>--updates</option></term>

                <listitem><para>
                    Show only those which have updates available.
                </para></listitem>
            </varlistentry>

            <varlistentry>
                <term><option>-v</option></term>
                <term><option>--verbose</option></term>

                <listitem><para>
                    Print debug information during command processing.
                </para></listitem>
            </varlistentry>

            <varlistentry>
                <term><option>--version</option></term>

                <listitem><para>
                    Print version information and exit.
                </para></listitem>
            </varlistentry>
        </variablelist>
    </refsect1>

    <refsect1>
        <title>Examples</title>

        <para>
            <command>$ xdg-app --user ls-remote --only-apps testrepo</command>
        </para>
<programlisting>
org.gnome.Builder
org.freedesktop.glxgears
</programlisting>

    </refsect1>

</refentry>
