Rename cli without the -cli suffix

This commit is contained in:
Edward Shen 2021-10-31 15:54:27 -07:00
parent 3732549873
commit 76e2494011
Signed by: edward
GPG key ID: 19182661E818369F
3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View file

@ -945,7 +945,7 @@ dependencies = [
] ]
[[package]] [[package]]
name = "omegaupload-cli" name = "omegaupload"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",

View file

@ -20,7 +20,7 @@ source .env
cd "$(git rev-parse --show-toplevel)" || exit 1 cd "$(git rev-parse --show-toplevel)" || exit 1
cargo build --release --bin omegaupload-cli cargo build --release --bin omegaupload
TEST_PATH="test/*" TEST_PATH="test/*"
@ -34,5 +34,5 @@ done
for file in $TEST_PATH; do for file in $TEST_PATH; do
printf "%$((PADDING - ${#TEST_PATH} + 1))s: " "${file#$TEST_PATH}" printf "%$((PADDING - ${#TEST_PATH} + 1))s: " "${file#$TEST_PATH}"
./target/release/omegaupload-cli upload "$PASTE_URL" "$file" ./target/release/omegaupload upload "$PASTE_URL" "$file"
done done

View file

@ -1,5 +1,5 @@
[package] [package]
name = "omegaupload-cli" name = "omegaupload"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"