From 4d11af5658bd73d9c0f39e1080a10cf473e39731 Mon Sep 17 00:00:00 2001 From: Naffah Abdulla Rasheed <52469245+nnaaffffuu@users.noreply.github.com> Date: Mon, 26 Apr 2021 10:55:56 +0500 Subject: [PATCH] Fixed some typos --- README.md | 15 ++++----------- bml.sh | 6 +++--- install.sh | 1 + 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index a587b2c..49f54ba 100644 --- a/README.md +++ b/README.md @@ -1,26 +1,19 @@ # Bank of Maldives CLI written in bash -## under dev, lots of things are broken. +Under development, lots of things are broken. If possible, pr ascii art lmao. -### can you pr ascii art lmao - -- Requiments +## Requirements `curl` `jq` -### known bugs +## known bugs - colored texts do not work in termux - -### Installation +## Installation ``` git clone https://github.com/shihaamabr/bmlcli cd bmlcli/ -echo "BML_USERNAME=xxxxxxxxx" > .env -echo "BML_PASSWORD=yyyyyyyyyy" >> .env - chmod +x bml.sh ./bml.sh - ``` diff --git a/bml.sh b/bml.sh index 7e2f4e3..48e712c 100755 --- a/bml.sh +++ b/bml.sh @@ -51,8 +51,8 @@ if [ "$LOGIN" = "true" ] # curl -s -b $COOKIE $BML_URL/userinfo echo "" else - #Display error if login was not succuessfull and delete cookie - echo "${red}An error occured, Please check Username and Password" 1>&2 + #Display error if login was not successful and delete cookie + echo "${red}An error occurred, Please check Username and Password" 1>&2 rm $COOKIE 2> /dev/null exit fi @@ -79,7 +79,7 @@ elif [ "$MENU" = "2" ] echo "" echo "1 - Transfer" echo "2 - Add Contact" - echo "3 - Delete Conact" + echo "3 - Delete Contact" echo "" printf 'Please Input: ' read -r CONTACS diff --git a/install.sh b/install.sh index e69de29..096fa84 100644 --- a/install.sh +++ b/install.sh @@ -0,0 +1 @@ +curl -sL "https://raw.githubusercontent.com/shihaamabr/bmlcli/main/bml.sh" | sudo tee /usr/bin/bml-cli >/dev/null && sudo chmod 755 /usr/bin/bml-cli \ No newline at end of file