jcouture / prntenv

Utility to print out the names and values of the variables in the environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prntenv

Utility to print out the names and values of the variables in the environment.

⚠️ Warning

Environment variables are case sensitive.

Installation

macOS and Linux

prntenv is available via Homebrew and as a downloadable binary from the releases page.

Homebrew

Install Upgrade
brew install jcouture/prntenv/prntenv brew upgrade prntenv

Windows

prntenv is available as a downloadable binary from the releases page.

Build from source

Alternatively, you can build it from source.

  1. Verify you have Go 1.20+ installed
~> go version

If Go is not installed, follow the instructions on the Go website

  1. Clone this repository
~> git clone https://github.com/jcouture/prntenv.git
~> cd prntenv
  1. Build prntenv uses just as command runner for a few handy commands shortcut.
~> just build

While the development version is a good way to take a peek at prntenv’s latest features before they get released, be aware that it may contains bugs. Officially released versions will generally be more stable.

Usage

Print the entire environment out:

~> prntenv

Without colorized output:

~> prntenv -no-color

Alphabetically sorted, by variable name:

~> prntenv -sort

Search for variables (default is case sensitive):

~> prntenv HOM

Search for variables (ignoring case):

~> prntenv -ignore-case Pat

License

prntenv is released under the MIT license. See LICENSE for details.

About

Utility to print out the names and values of the variables in the environment

License:MIT License


Languages

Language:Go 59.7%Language:Just 33.6%Language:Dockerfile 6.7%