From fdf00954632f1588fd07a3767fc725c694564369 Mon Sep 17 00:00:00 2001 From: Falko Zurell Date: Mon, 18 Nov 2024 23:16:34 +0100 Subject: [PATCH] added example output to README --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 990b696..0e93778 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ The script will take the URL of the Wordpress site, the username and application Install Rust on your machine. Copy the `.env.example` to `.env` -# running +# testing `cargo run -- /path/to/your/image.jpg` @@ -17,3 +17,11 @@ Install Rust on your machine. Copy the `.env.example` to `.env` `cargo build --release` will build the binary in `./target/release/image-helper-wordpress` + +# running +``` + $image-helper-wordpress: ./target/release/image-helper-wordpress /Users/username/Pictures/DJI_0247.jpg +Generated description: Aerial view of a circular lake surrounded by dense forest, with a small cluster of houses lining one edge. A second smaller lake is visible in the background, also encircled by forest. +Successfully uploaded image to WordPress with description +Image URL: https://example.wordpress.com/wp-content/uploads/2024/11/DJI_0247-scaled.jpg +```