Skip to content

Commit

Permalink
Merge pull request #41 from bit101/v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bit101 authored Sep 25, 2020
2 parents 813e55d + 4c51673 commit 0935d70
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,24 @@ version systemd // 246.4-1

This feature currently supports the package managers:

- `apt` (Debian, Ubuntu, and derivatives)
- `pacman` (Arch, Manjaro, and deriviatives)
- `dnf` (Fedora and derivatives)
- `apt` (Linux - Debian, Ubuntu, and derivatives)
- `pacman` (Linux - Arch, Manjaro, and deriviatives)
- `dnf` (Linux - Fedora and derivatives)
- `snap` (Linux)
- `npm` (Mac and Linux)
- `pip` (Mac and Linux)
- `flatpak` (Linux)
- `brew` (Mac and Linux)

And the following are coded and being tested:
If `version` doesn't know about the command, it will start searching through any of the package managers that are installed and report what it finds:

- `flatpak` (Linx)
- `brew` (Mac and Linux)
![version.png](version.png)

Read more here: [Package Manager Integration](https://github.com/bit101/version/wiki/Package-Manager-Integration)

## Info

- Current release: v1.2.0 (177 recognized tools)
- Current release: v1.3.0 (183 recognized tools)

- Main dev branch: 177 recognized tools

Expand Down
2 changes: 1 addition & 1 deletion man/version.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Manpage for version.
.\" Contact kp@bit-101.com to correct errors or typos.
.TH version 1 "22 Sep 2020" "1.2.0" "version man page"
.TH version 1 "25 Sep 2020" "1.3.0" "version man page"
.SH NAME
version \- displays the versions of programs you have installed
.SH SYNOPSIS
Expand Down
10 changes: 8 additions & 2 deletions version
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/bash

ver="v1.2.0"
ver="v1.3.0"

# note: replace - with _ in tool name. e.g. pkg-config -> tools_pkg_config
# script will sanitize the input the same way
Expand Down Expand Up @@ -54,6 +54,7 @@ tools_engrampa=--version
tools_eog=--version
tools_exa=-v
tools_expac=--version
tools_eyeD3=--version
tools_ffmpeg=-version
tools_flac=-v
tools_flameshot=-v
Expand Down Expand Up @@ -123,6 +124,7 @@ tools_php=-v
tools_pip3=-V
tools_pip=-V
tools_pkg_config=--version
tools_pyenv=-v
tools_python2=-V
tools_python3=-V
tools_python=-V
Expand All @@ -148,6 +150,7 @@ tools_sinfo=-V
tools_slack=-v
tools_snap=--version
tools_snapcraft=version
tools_solaar=--version
tools_spotify=--version
tools_squeue=-V
tools_ssh=-V
Expand All @@ -157,10 +160,12 @@ tools_tcsh=--version
tools_tex=-version
tools_thefuck=-v
tools_thunar=--version
tools_thunderbird=--version
tools_tldr=-v
tools_tlmgr=version
tools_tmux=-V
tools_tsc=-v
tools_ufw=version
tools_valgrind=--version
tools_version=-v
tools_vi=-version
Expand All @@ -172,9 +177,10 @@ tools_w3m=-version
tools_wine=--version
tools_wget=--version
tools_wmctrl=--version
tools_xdotool=--version
tools_xelatex=-version
tools_xetex=-version
tools_xdotool=--version
tools_xfce4_terminal=--version
tools_xrandr=-v
tools_xsel=--version
tools_yarn=--version
Expand Down
Binary file added version.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0935d70

Please sign in to comment.