NiklasRosenstein / slap

Slap is a CLI to assist in the process for developing and releasing Python packages.
https://niklasrosenstein.github.io/slap/
Other
18 stars 11 forks source link

`slap venv -a` should not show warning about using the shell shadow function when stdout is not a TTY #147

Open NiklasRosenstein opened 1 month ago

NiklasRosenstein commented 1 month ago

The reason is that the output might be passed to eval, e.g.

$ eval $(slap venv -a)
warning: the -a,--activate option only works when shadowed by a shell function