Skip to content

Commit

Permalink
feat: accept input from stdin by default
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter committed May 7, 2024
1 parent bc2b5f4 commit fadc918
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ static THINK_CHARS: Chars = Chars {
#[derive(Parser)]
#[command(version, about)]
struct Cli {
#[clap(default_value = "-")]
message: MaybeStdin<String>,
/// Set width of speech/thought bubble
#[clap(long, short)]
Expand Down

0 comments on commit fadc918

Please sign in to comment.