pub fn get_contents() -> Result<String, Box<dyn Error>>
Expand description

Get the current clipboard contents

Example

cli_clipboard::set_contents("testing".to_owned()).unwrap();
assert_eq!(cli_clipboard::get_contents().unwrap(), "testing");