package
0.0.0-20230310201401-7aac46a7fa12
Repository: https://github.com/mitghi/protox.git
Documentation: pkg.go.dev

# README

utils/io

# Functions

Exec executes a shell commands and returns the output.
FileExists returns wether the path/file exists.
GetPipedStdin reads from standard input if data is piped ( using pipe `|` operator ).
GetTermStdin reads from standard input if data is redirected ( using io directors ).
SelectStdin is a convenience routine and checks both `GetPipedStdin` and `GetTermStdin` for data.