1 .TH zpm-search 8 2019-02-16 "ZPM 0.5"
3 zpm-search \- search repositories for packages
21 searches for packages in repositories, the local database, and
22 a directory of package files. Packages needed for library
23 dependencies will be recursively searched for.
27 Specify the local database, if other than the default local database.
30 Specify a directory to search for packages in. Defaults to
34 Specify the directory to find repository information in. Defaults
38 Match against installed packages. Normally, packages are searched
39 for against the local database, but the output omits packages that
40 are already installed. This option adds found but installed packages
44 In addition to finding packages, also find packages supplying libraries
45 needed by found packages.
54 Output results in json format. You will get a list with the \-n option,
55 or an object of package id to location without the \-n option. A list
56 of object is always output, even if empty.
59 Only output found packages. Normally it is an error if a package
60 can't be found. This option makes that not an error, and suppresses
61 printing unfound packages to stderr.
64 Suppress output. The exit status is the same as it would otherwise be.
67 Increase verbosity. May be given multiple times.
70 Match all package files. Normally when looking at files ending in .zpm,
71 packages will only be searched for if the filename has the package id
72 as a prefix. This is an optimization to speed up the search.
75 Don't look in the package directory.
78 Don't search repositories.
81 Don't search the local database.
84 list package names only, not name and location found.
88 lists all files in the local database
90 0 on success non zero on failure