8000 GitHub - RustyDaemon/goenvlist: A simple cross-platform CLI tool for displaying environment variables with advanced filtering options.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A simple cross-platform CLI tool for displaying environment variables with advanced filtering options.

License

Notifications You must be signed in to change notification settings

RustyDaemon/goenvlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goenvlist

A simple cross-platform CLI tool for displaying environment variables with advanced filtering options.

Features

  • List all environment variables
  • Show only common variables
  • Display only PATH variable
  • Filter by specific variable names
  • Cross-platform support (macOS, Linux, Windows)
  • Color-coded output for better readability
  • Raw output mode for scripting

Installation

  • Clone the repo and build it manually via make build
  • OR install the tool globally via go install github.com/RustyDaemon/goenvlist@latest

Usage

# Show all environment variables
goenvlist

# Show only common environment variables
goenvlist -s
goenvlist --simple

# Show only PATH variable
goenvlist -p
goenvlist --path

# Show specific variables (comma-separated)
goenvlist -f HOME,USER
goenvlist --filter HOME,USER

# Use raw output (unformatted). Useful for scripting)
goenvlist -r
goenvlist --raw

# Help
goenvlist -h
goenvlist --help

License

The project is licensed under the MIT License.

About

A simple cross-platform CLI tool for displaying environment variables with advanced filtering options.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0