rh 0.1.14

A user-friendly command-line tool to request HTTP APis
Documentation
1
2
3
4
5
6
7
8
9
use atty::{is, Stream};

pub fn is_stdout() -> bool {
    is(Stream::Stdout)
}

pub fn is_stdin() -> bool {
    is(Stream::Stdin)
}