summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4ccab82..9ba9828 100644
--- a/README.md
+++ b/README.md
@@ -41,6 +41,21 @@ updated. The returned packages contain the name of the distribution, the name
of the pacman package, and the versions of each, the pacman package (which is
older) and the CPAN distribution.
+### get\_maintainer
+
+ my $maintainer = $app->get_maintainer($pkgname);
+
+Accepts a package name and returns the maintainer of the package.
+
+### add\_maintainers
+
+ my $packages = $app->get_updateable_packages($distribution_names);
+ my $packages_with_maintainer = $app->add_maintainers($packages);
+ print $packages_with_maintainer->[0]->{maintainer};
+
+Accepts a list of packages (hashes with the pkgname key) and returns a list
+with the maintainer key added to each package.
+
# LICENSE
Copyright (C) 2018 Florian Pritz <bluewind@xinu.at>