<commit_before><?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-install-runtime">

    <refentryinfo>
        <title>dxg-app run</title>
        <productname>xdg-app</productname>

        <authorgroup>
            <author>
                <contrib>Developer</contrib>
                <firstname>Alexander</firstname>
                <surname>Larsson</surname>
                <email><EMAIL></email>
            </author>
        </authorgroup>
    </refentryinfo>

    <refmeta>
        <refentrytitle>xdg-app run</refentrytitle>
        <manvolnum>1</manvolnum>
    </refmeta>

    <refnamediv>
        <refname>xdg-app-run</refname>
        <refpurpose>Run an application</refpurpose>
    </refnamediv>

    <refsynopsisdiv>
            <cmdsynopsis>
                <command>xdg-app run</command>
                <arg choice="opt" rep="repeat">OPTION</arg>
                <arg choice="plain">APP</arg>
                <arg choice="opt" rep="repeat">ARG</arg>
            </cmdsynopsis>
    </refsynopsisdiv>

    <refsect1>
        <title>Description</title>

        <para>
            Runs an application in a sandboxed environment. <arg choice="plain">APP</arg> must
            name an installed application.
        </para>
        <para>
            xdg-app creates a sandboxed environment for the application to run in
            by mounting the right runtime at <filename>/usr</filename> and a writable
            directory at <filename>/var</filename>, whose content is preserved between
            application runs. The application itself is mounted at <filename>/self</filename>.
        </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>

        </variablelist>
    </refsect1>

    <refsect1>
        <title>Examples</title>

        <para>
            <command>$ xdg-app run org.gnome.GEdit</command>
        </para>

    </refsect1>

</refentry><commit_msg>Complete the documentation for the run command<commit_after><?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-install-runtime">

    <refentryinfo>
        <title>dxg-app run</title>
        <productname>xdg-app</productname>

        <authorgroup>
            <author>
                <contrib>Developer</contrib>
                <firstname>Alexander</firstname>
                <surname>Larsson</surname>
                <email><EMAIL></email>
            </author>
        </authorgroup>
    </refentryinfo>

    <refmeta>
        <refentrytitle>xdg-app run</refentrytitle>
        <manvolnum>1</manvolnum>
    </refmeta>

    <refnamediv>
        <refname>xdg-app-run</refname>
        <refpurpose>Run an application</refpurpose>
    </refnamediv>

    <refsynopsisdiv>
            <cmdsynopsis>
                <command>xdg-app run</command>
                <arg choice="opt" rep="repeat">OPTION</arg>
                <arg choice="plain">APP</arg>
                <arg choice="opt" rep="repeat">ARG</arg>
            </cmdsynopsis>
    </refsynopsisdiv>

    <refsect1>
        <title>Description</title>

        <para>
            Runs an application in a sandboxed environment. <arg choice="plain">APP</arg> must
            name an installed application.
        </para>
        <para>
            xdg-app creates a sandboxed environment for the application to run in
            by mounting the right runtime at <filename>/usr</filename> and a writable
            directory at <filename>/var</filename>, whose content is preserved between
            application runs. The application itself is mounted at <filename>/self</filename>.
        </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>--arch=ARCH</option></term>

                <listitem><para>
                    The architecture to install for.
                </para></listitem>
            </varlistentry>

            <varlistentry>
                <term><option>--command=COMMAND</option></term>

                <listitem><para>
                    The command to run instead of the one listed in the application metadata.
                </para></listitem>
            </varlistentry>

            <varlistentry>
                <term><option>--branch=BRANCH</option></term>

                <listitem><para>
                    The branch to use.
                </para></listitem>
            </varlistentry>

            <varlistentry>
                <term><option>-d</option></term>
                <term><option>--devel</option></term>

                <listitem><para>
                    Use the devel runtime that is specified in the application metadata instead of the regular runtime.
                </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 run org.gnome.GEdit</command>
        </para>
        <para>
            <command>$ xdg-app run --devel --command=bash org.gnome.Builder</command>
        </para>

    </refsect1>

</refentry>
{'fraction_non_alphanumeric': 0.13081837541831456, 'fraction_numerical': 0.003954974140553696, 'mean_word_length': 1.6684253246753247, 'pattern_counts': {'":': 0, '<': 263, '<?xml version=': 2, '>': 263, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '190218', 'n_tokens_mistral': 1921, 'n_tokens_neox': 1780, 'n_words': 376}