tools: Added 7z for 7z archive files.

This commit is contained in:
Andrew Hamilton 2018-06-04 08:35:36 +10:00
parent 8b6fd9c978
commit 6c78f9c06c
2 changed files with 9 additions and 1 deletions

View file

@ -23,7 +23,7 @@ then to run:
### Tools
Extensions(84) | Tools(51)
Extensions(85) | Tools(52)
---------- | -----
.* | [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)
@ -40,6 +40,7 @@ Extensions(84) | Tools(51)
.tar.gz .tgz | [tar_gz](http://www.gnu.org/software/tar/manual/tar.html)
.tar.bz2 | [tar_bz2](http://www.gnu.org/software/tar/manual/tar.html)
.rar | [unrar](http://www.rarlabs.com/)
.7z | [7z](https://en.wikipedia.org/wiki/7z)
.a .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/)
.bash .sh .dash .ksh | [shellcheck](http://hackage.haskell.org/package/ShellCheck)

View file

@ -22,6 +22,7 @@ tools_for_extensions = [
[["tar.gz", "tgz"],["tar_gz"]],
[["tar.bz2"], ["tar_bz2"]],
[["rar"], ["unrar"]],
[["7z"], ["7z"]],
[["a", "so"], ["nm"]],
[["png", "jpg", "gif", "bmp", "ppm", "tiff", "tga"], ["identify", "pil",
"pil_half"]],
@ -92,6 +93,12 @@ tools_for_extensions = [
command = "unrar l"
success_status = "normal"
[7z]
dependencies = ["7z"]
url = "https://en.wikipedia.org/wiki/7z"
command = "7z l"
success_status = "normal"
[nm]
dependencies = ["binutils"]
url = "https://linux.die.net/man/1/nm"