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 +```