Don't try to read from stdin if interactive #1

Open
opened 2023-03-23 21:14:17 +00:00 by kemitix · 0 comments
Owner
if file == PathBuf::from("-") {
        if stdin().is_terminal() {
            Cli::command().print_help().unwrap();
            ::std::process::exit(2);
        }
```rust if file == PathBuf::from("-") { if stdin().is_terminal() { Cli::command().print_help().unwrap(); ::std::process::exit(2); } ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: kemitix/skip#1
No description provided.