1ce-installer-cli [<options>] query [installed] [<parameters>]
Searches for products or components that satisfy criteria.
Search criteria are specified via command-line parameters.
The command returns installation information in a specific YAML format (see
documentation) which can be passed to "install" and "uninstall" commands.

    Options description

    See main help for options descriptions, type "1ce-installer-cli".

    Parameters description

    installed
        If specified the command searches for installed products.
        Otherwise the command searches for products in distro.

    --source
        Path to a directory containing distro.
        If "--source" parameter is not specified the command searches for
        a distro in a directory where "1ce-installer-cli" is located.
        If "installed" parameter is specified "--source" will be ignored.

    <products>
        A comma separated list of products to search.
        Multiple products also can be specified by separating them
        with "--components" parameter if more detailed settings are required.
        Format for distro products: productId[@productVersion]
        Format for installed products: productId[@productVersion][:productArch]

        productId
            Product identifier. The parameter is required.

        productVersion
            Product version in a Semantic Versioning Specification format,
            see https://semver.org/.
            Optional parameter.
            Can be used if more than one product with same productId but
            different version exists in distro.
            If version is not supplied the command will search for products
            with any version and specified productId.

        productArch
            Product architecture. Possible values: "x86", "x86_64".
            Optional parameter.
            If version is not supplied the command will search for products
            with any architecture and specified productId and version.

        --components
            A comma separated list of components to search.
            Can be used only if "<products>" parameter is specified.
            Must follow one of "<products>" parameter section.
            Format: componentId[@componentVersion]
            If multiple products are specified in previous "<products>" section
            the command will search for components in all of those products.

            componentId
                Component identifier. The parameter is required.

            componentVersion
                Component version in a Semantic Versioning Specification format,
                see https://semver.org/.
                Optional parameter.
                Can be used if more than one component with same componentId but
                different version exists in product distro.
                If version is not supplied the command will search for
                components with any version and specified productId.

    Notes
        Special symbols can be specified for product and component identifiers
        and versions:
            * - any number of symbols
            ? - exactly one symbol
            [...] - one of symbols specified in parenthesis
            [!...] - one of symbols not equal to any symbol specified in
                parenthesis
        All parameter value with such symbols must be enclosed in double
        quotation marks.

    Examples

        > 1ce-installer-cli query

        Lists all products and components from distro which is located
        in the same directory as "1ce-installer-cli".

        > 1ce-installer-cli query --source D:\dist1 prod1@1.0.0:x86

        Displays installation information about a single product
        with identifier "prod1", version "1.0.0" and architecture "x86"
        with all components if that product exists from distro
        located at D:\dist1.

        > 1ce-installer-cli query installed prod1,prod2

        Displays installation information about all products with identifiers
        "prod1" and "prod2" with installed components if they are installed.

        > 1ce-installer-cli query installed "prod*"

        Displays installation information about all products with identifiers
        that match pattern prod*.

        > 1ce-installer-cli query prod1 --components c1

        Displays installation information about all products
        with identifier "prod1" with components with identifier "c1" from
        distro which is located in the same directory as "1ce-installer-cli".
