handle_terminal_input

Function handle_terminal_input 

Source
pub fn handle_terminal_input(cli: Args) -> Result<()>
Expand description

Handles terminal input by either setting the clipboard text or printing the clipboard text.

§Arguments

  • cli - The command line arguments.

§Returns

  • Result<()> - The result of the operation.