Categorygithub.com/hellojukay/env
repositorypackage
1.0.2
Repository: https://github.com/hellojukay/env.git
Documentation: pkg.go.dev

# README

env

vagrant@archlinux env (main) $ ./env -h >> README.md
Usage of ./env:
  -i    clear the environment then run command:
  -u value
        remove variable from the environment and run a program:

Use case

  1. Show the environment:
env
  1. Clear the environment and run a program:
env -i program
  1. Remove variable from the environment and run a program:
env -u variable program
  1. Set multiple variables and run a program:
env variable1=value variable2=value variable3=value program