diff --git a/README.md b/README.md index dc0d006..11be204 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ then to run: ### Tools -Extensions(87) | Tools(54) +Extensions(88) | Tools(56) ---------- | ----- .* | [contents](http://pygments.org/) • metadata • [git_blame](https://git-scm.com/docs/git-blame) • [git_log](https://git-scm.com/docs/git-log) .py | [python_syntax](https://en.wikipedia.org/wiki/Python_syntax_and_semantics) • [python_unittests](https://docs.python.org/3/library/unittest.html) • [pydoc](https://docs.python.org/3/library/pydoc.html) • [mypy](http://www.mypy-lang.org/) • [python_coverage](http://nedbatchelder.com/code/coverage/) • [pycodestyle](https://pypi.python.org/pypi/pycodestyle) • [pydocstyle](http://pydocstyle.readthedocs.org/) • [pyflakes](https://launchpad.net/pyflakes) • [pylint](http://www.pylint.org/) • [python_gut](https://github.com/ahamilton/vigil/blob/master/gut.py) • [python_modulefinder](https://docs.python.org/3/library/modulefinder.html) • [dis](https://docs.python.org/3/library/dis.html) • [python_mccabe](https://github.com/flintwork/mccabe) • [bandit](https://wiki.openstack.org/wiki/Security/Projects/Bandit) @@ -42,6 +42,7 @@ Extensions(87) | Tools(54) .rar | [unrar](http://www.rarlabs.com/) .7z | [7z](https://en.wikipedia.org/wiki/7z) .xz | [unxz](http://tukaani.org/xz/) +.deb | [dpkg_contents](https://wiki.debian.org/Teams/Dpkg) • [dpkg_info](https://wiki.debian.org/Teams/Dpkg) .a | [ar](https://en.wikipedia.org/wiki/Ar_(Unix)) • [nm](https://linux.die.net/man/1/nm) .so | [nm](https://linux.die.net/man/1/nm) .png .jpg .gif .bmp .ppm .tiff .tga | [identify](http://www.imagemagick.org/script/identify.php) • [pil](http://python-pillow.github.io/) • [pil_half](http://python-pillow.github.io/) diff --git a/vigil/tools.toml b/vigil/tools.toml index 80adf97..09517ab 100644 --- a/vigil/tools.toml +++ b/vigil/tools.toml @@ -24,6 +24,7 @@ tools_for_extensions = [ [["rar"], ["unrar"]], [["7z"], ["7z"]], [["xz"], ["unxz"]], + [["deb"], ["dpkg_contents", "dpkg_info"]], [["a"], ["ar", "nm"]], [["so"], ["nm"]], [["png", "jpg", "gif", "bmp", "ppm", "tiff", "tga"], ["identify", "pil", @@ -107,6 +108,18 @@ tools_for_extensions = [ command = "unxz -l" success_status = "normal" +[dpkg_contents] + dependencies = ["dpkg"] + url = "dpkg" + command = "dpkg -c" + success_status = "normal" + +[dpkg_info] + dependencies = ["dpkg"] + url = "dpkg" + command = "dpkg -I" + success_status = "normal" + [ar] dependencies = ["binutils"] url = "https://en.wikipedia.org/wiki/Ar_(Unix)"