servicepoint-cli/src/text.rs
Vinzenz Schroeter 11d9ac0bcb restructure cli
2025-03-02 15:20:59 +01:00

8 lines
247 B
Rust

use servicepoint::Connection;
use crate::cli::TextCommand;
use crate::stream_stdin::stream_stdin;
pub fn text(connection: &Connection, command: TextCommand) {
match command { TextCommand::Stdin { slow } => stream_stdin(connection, slow), }
}