]> git.ozlabs.org Git - petitboot/commit
utils/pb-plugin: Advertise pb-plugins to discover server
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 25 Jul 2017 06:07:40 +0000 (16:07 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 15 Aug 2017 03:03:28 +0000 (13:03 +1000)
commit9f9bc4da3369b5637963064e2cd9d98e9dbd20d4
tree004fa46daa2090933d7711ef7e0d89bce68558ce
parent606c23f642a4e8a3a238cdbc3cd10d74708cbfad
utils/pb-plugin: Advertise pb-plugins to discover server

Update the pb-plugin utility to create a 'plugin' pb-event when it
successfully scans or installs a pb-plugin.
To aid invoking pb-plugin from pb-discover there following two commands
are updated:
 - `pb-plugin scan` can now be called for a single directory.
 - `pb-plugin install` now has an optional "auto" argument that will
 skip asking for confirmation before installation.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
utils/pb-plugin