[−][src]Function cli_clipboard::get_contents
pub fn get_contents() -> Result<String>
Get the current clipboard contents
Example
cli_clipboard::set_contents("testing".to_owned()).unwrap(); assert_eq!(cli_clipboard::get_contents().unwrap(), "testing");