Add lazydocker

This commit is contained in:
Steffen Lange 2020-12-16 21:38:37 +01:00
parent 3290e476f4
commit 6c2f343263

14
modules/Lazydocker.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Lazydocker extends PatchBase {
function __construct() {
parent::__construct('Jesse Duffield', 'lazydocker', 'https://github.com/jesseduffield/lazydocker');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/jesseduffield/lazydocker/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>