easier to understand readme

This commit is contained in:
PandaDEV 2024-10-20 20:15:13 +10:00
parent 67c91ccad7
commit 872d2ff4e4
No known key found for this signature in database
GPG key ID: 13EFF9BAF70EE75C
2 changed files with 18 additions and 3 deletions

View file

@ -12,7 +12,7 @@ keywords = ["streamshare","file-sharing","upload"]
[dependencies] [dependencies]
clap = { version = "4.5.20", features = ["derive"] } clap = { version = "4.5.20", features = ["derive"] }
streamshare = "2" streamshare = "2.0.0"
tokio = { version = "1.40.0", features = ["full"] } tokio = { version = "1.40.0", features = ["full"] }
[[bin]] [[bin]]

View file

@ -2,5 +2,20 @@
Upload files to [streamshare](https://streamshare.wireway.ch) with the terminal. 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"`. ### Install
Delete a file with `toss --delete file_identifier/deletion_token`
```bash
cargo install to-streamshare
```
### Upload
```bash
toss "filepath"
```
### Delete
```bash
toss --delete file_identifier/deletion_token
```