Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hellojukay/env

Windows, Darwin 版本的 env 命令。 env command for Windows and Darwin .
https://github.com/hellojukay/env

Last synced: 29 days ago
JSON representation

Windows, Darwin 版本的 env 命令。 env command for Windows and Darwin .

Awesome Lists containing this project

README

        

# env
一个 Windows, Darwin 版本的 env 命令,类似 [cross-env](https://github.com/kentcdodds/cross-env)。
# Install
```
go install github.com/hellojukay/env@latest
```

# Use case

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