has icon indicating copy to clipboard operation
has copied to clipboard

More recipes, please!

Open mcandre opened this issue 7 years ago • 2 comments

Awesome tool! I once wrote a similar tool, for quickly gathering disparate and differently syntaxed program information, specs:

https://github.com/mcandre/specs

Feel free to steal more commands for gathering versions into has, I'd love to see has be able to handle Web browser versions, OS versions, and more!

mcandre avatar Nov 15 '18 21:11 mcandre

Hey @mcandre, specs looks nice. By the way, Has was originally built using ruby based build script, later to an API based one, and finally to a single shell script with no dependency.

Regarding Browser, OS and other apps, the original intent of has was check CLI tools present in $PATH. Apps quickly becomes too OS specific.

I will keep this issue open and see and if apps version could be checked in a generic way

kdabir avatar Nov 16 '18 02:11 kdabir

OS versions,

I'd very much like to see at least Ubuntu versioning, if not Linux.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic

$ lsb_release -sd
Ubuntu 18.04.1 LTS

$ lsb_release -sr
18.04

Not need to stuff around with parsing /etc/*release. V

virgilwashere avatar Apr 19 '19 15:04 virgilwashere