You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
325 B

package main
import (
"flag"
"os"
common "source.heropunch.io/tomo/go-coreutils"
)
var ignoreEnv = flag.Bool(
"i",
false,
"Completely ignore the existing environment and execute cmd only with each (var, value) tuple specified.",
)
func main() {
flag.Parse()
if *ignoreEnv {
os.Clearenv()
}
common.PrintEnv()
}