From 872d2ff4e4d816b5a7c45226f6879e962d145b15 Mon Sep 17 00:00:00 2001 From: PandaDEV <70103896+0PandaDEV@users.noreply.github.com> Date: Sun, 20 Oct 2024 20:15:13 +1000 Subject: [PATCH] easier to understand readme --- Cargo.toml | 2 +- README.md | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6109e55..500c0d4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ keywords = ["streamshare","file-sharing","upload"] [dependencies] clap = { version = "4.5.20", features = ["derive"] } -streamshare = "2" +streamshare = "2.0.0" tokio = { version = "1.40.0", features = ["full"] } [[bin]] diff --git a/README.md b/README.md index 089f521..a340bfb 100644 --- a/README.md +++ b/README.md @@ -2,5 +2,20 @@ Upload files to [streamshare](https://streamshare.wireway.ch) with the terminal. -Run `cargo install to-streamshare` to install it and use it with `toss "filepath"`. -Delete a file with `toss --delete file_identifier/deletion_token` +### Install + +```bash +cargo install to-streamshare +``` + +### Upload + +```bash +toss "filepath" +``` + +### Delete + +```bash +toss --delete file_identifier/deletion_token +```