appstreamcli-compose − Compose AppStream collection metadata from directory trees
appstreamcli compose [COMMAND]
This manual page documents briefly the appstreamcli compose command.
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.
In order for the appstreamcli compose command to be available, you may need to install the optional compose module for appstreamcli first.
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  .
A list of directories to process needs to be provided as positional parameters. Data from all directories will be combined into one output namespace.
Set the AppStream data origin identifier. This can be a value like "debian−unstable−main" or "flathub".
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.
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).
Override the directory where the cached icons are exported to.
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.
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.
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.
Set the default prefix that is used in the processed directories. If none is set explicitly, /usr is assumed.
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.
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.
Don't print colored output.
Display extra debugging information
Display the version number of appstreamcli compose
This manual page was written by Matthias Klumpp <[email protected]>.
Copyright © 2020-2022 Matthias Klumpp