APPSTREAMCLI COMPOSE(1)

    .SH "NAME" appstreamcli-compose - Compose AppStream collection metadata from directory trees
       .SH "SYNOPSIS"
           .HP u
               appstreamcli compose
                [
                   COMMAND
               ]

    .SH "DESCRIPTION"

        .PP This manual page documents briefly the appstreamcli compose command.
        .PP appstreamcli compose is a tool to construct AppStream collection metadata from directory trees. The tool will also perform many related metadata generation actions, like resizing icons and screenshots and merging in data from referenced desktop-entry files as well as translation status information. Therefore, the tool provides a fast way to test how the final processed metadata for an application that is shipped to users may look like. It also provides a way to easily generate AppStream data for projects which do not need a more complex data generator like appstream-generator.
        .PP In order for the appstreamcli compose command to be available, you may need to install the optional compose module for appstreamcli first.
        .PP For more information about the AppStream project and the other components which are part of it, take a look at the AppStream pages at Freedesktop.org[1].

    .SH "OPTIONS"

            .PP SOURCE DIRECTORIES

                        A list of directories to process needs to be provided as positional parameters. Data from all directories will be combined into one output namespace.

                .RE
                .PP --origin NAME

                            Set the AppStream data origin identifier. This can be a value like "debian-unstable-main" or "flathub".

                    .RE
                    .PP --result-root DIR

                                Sets the directory where all generated output that is deployed to a user's machine is exported to. If this parameter is not set and we only have one directory to process, we use that directory as default output path.

                                If both --data-dir and --icons-dir are set, --result-root is not necessary and no data will be written to that directory.

                        .RE
                        .PP --data-dir DIR

                                    Override the directory where the generated AppStream collection metadata will be written to. Data will be written directly to this directory, and no supdirectories will be created (unlike when using --result-root to set an output location).

                            .RE
                            .PP --icons-dir DIR

                                        Override the directory where the cached icons are exported to.

                                .RE
                                .PP --hints-dir DIR

                                            Set a directory where hints reported generated during metadata processing are saved to. If this parameter is not set, no HTML/YAML hint reports will be saved.

                                    .RE
                                    .PP --media-dir DIR

                                                If set, creates a directory with media content (icons, screenshots, ...) that can be served via a webserver. The metadata will be extended to include information about these remote media.

                                        .RE
                                        .PP --media-baseurl URL

                                                    The URL under which the contents of a directory set via --media-dir will be served. This value must be set if a media directory is created.

                                            .RE
                                            .PP --prefix DIR

                                                        Set the default prefix that is used in the processed directories. If none is set explicitly, /usr is assumed.

                                                .RE
                                                .PP --print-report MODE

                                                            Print the issue hints report (that gets exported as HTML and YAML document when --hints-dir was set) to the console in text form.

                                                            Various print modes are supported: on-error only prints a short report if the run failed (default), short generates an abridged report that is always printed and full results in a detailed report to be printed.

                                                    .RE
                                                    .PP --components COMPONENT-IDs

                                                                Set a comma-separated list of AppStream component IDs that should be considered for the generated metadata. All components that exist in the input data but are not mentioned in this list will be ignored for the generated output.

                                                        .RE
                                                        .PP --no-color

                                                                    Don't print colored output.

                                                            .RE
                                                            .PP --verbose

                                                                        Display extra debugging information

                                                                .RE
                                                                .PP --version

                                                                            Display the version number of appstreamcli compose

                                                                    .RE

                                                            .SH "SEE ALSO"

                                                                .PP appstreamcli(1), appstream-generator(1).

AUTHOR

This manual page was written by Matthias Klumpp <matthias@tenstral.net>.

COPYRIGHT
Copyright © 2020-2022 Matthias Klumpp

NOTES

1.  Freedesktop.org
    https://www.freedesktop.org/wiki/Distributions/AppStream/