Is": An Inspector for Your Environment
Is": An Inspector for Your Environment
https://github.com/oalders/is I wrote a tool to make shell scripting just a little bit easier. It has a syntax that reads just a little bit like English, so that you can ask questions of your environment. That means you can do things like: Check the version of a CLI tool: $ is cli version tmux gt 3.2 && echo || echo Check an OS version by its code name: $ is os version-codename in ventura,monterey Do things only if a dependency is installed: $ is there go && go install golang.org/x/tools/cmd/goimports@latest Query a CLI version: $ is known cli version bash 5.2.15 Check if today is Wednesday using a case insensitive regex: $ is cli output stdout date like "(?i)wed" Update a binary if it's older than 7 days: $ is cli age goimports gt 7 days && go install golang.org/x/tools/cmd/goimports@latest Check the major (or minor, or patch) version of your OS: $ is os version --major eq 13 Install if you have passwordless sudo: $ is user sudoer && sudo apt-get install ripgrep Check the output of STDERR for an arbitrary command: $ is cli output stderr ssh --arg="-V" like 9.0p1 The idea is to make some scripting tasks less tedious. I mostly wrote this because I could and because I enjoyed doing it.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
OVH Environment Inspector
Komiser – Cloud Environment Inspector
Cloud Environment Inspector
JWT Inspector App
A Lisp compiler and environment in Go
Varyaml – environment interpolation in yaml configs
envssh – Take your environment with you
No Environment Setups Anymore
Junkie – An extensible deep packet inspector
sachet – handcraft your Vim environment online