APPSTREAMCLI COMPOSE(1) | appstreamcli compose | APPSTREAMCLI COMPOSE(1) |
NAME¶
appstreamcli-compose - Compose AppStream metadata catalog from directory trees
SYNOPSIS¶
appstreamcli compose [COMMAND]
DESCRIPTION¶
This manual page documents briefly the appstreamcli compose command.
The appstreamcli compose tool is used to construct AppStream metadata catalogs 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[1].
OPTIONS¶
SOURCE-DIRECTORIES
--origin NAME
--result-root DIR
If both --data-dir and --icons-dir are set, --result-root is not necessary and no data will be written to that directory.
--data-dir DIR
--icons-dir DIR
--hints-dir DIR
--media-dir DIR
--media-baseurl URL
--prefix DIR
--print-report MODE
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.
--no-partial-urls
--icon-policy POLICY-STRING
The icon-policy string is comprised of comma-separated %{size}x%{size}@%{scale}=%{state} statements. The size and scale are that of the respective icon, with the scale being allowed to be omitted if it is 1. The state can be one of remote, cached or cached-remote.
By default, a policy of 48x48=cached,48x48@2=cached,64x64=cached,64x64@2=cached,128x128=cached-remote,128x128@2=cached-remote is selected.
--allow-custom CUSTOM-KEY-NAMES
--components COMPONENT-IDs
--no-color
--verbose
--version
SEE ALSO¶
appstreamcli(1), appstream-generator(1).
AUTHOR¶
This manual page was written by Matthias Klumpp <matthias@tenstral.net>.
COPYRIGHT¶
Copyright © 2020-2024 Matthias Klumpp
NOTES¶
- 1.
- Freedesktop.org
AppStream |