Fixed Typos and Updated README #2
							
								
								
									
										15
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								README.md
									
									
									
									
									
								
							@@ -1,26 +1,19 @@
 | 
				
			|||||||
# Bank of Maldives CLI written in bash
 | 
					# 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 
 | 
					## Requirements 
 | 
				
			||||||
 | 
					 | 
				
			||||||
- Requiments 
 | 
					 | 
				
			||||||
`curl` `jq`
 | 
					`curl` `jq`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### known bugs
 | 
					## known bugs
 | 
				
			||||||
- colored texts do not work in termux
 | 
					- colored texts do not work in termux
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Installation
 | 
				
			||||||
### Installation
 | 
					 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
git clone https://github.com/shihaamabr/bmlcli
 | 
					git clone https://github.com/shihaamabr/bmlcli
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cd bmlcli/
 | 
					cd bmlcli/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "BML_USERNAME=xxxxxxxxx" > .env
 | 
					 | 
				
			||||||
echo "BML_PASSWORD=yyyyyyyyyy" >> .env
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
chmod +x bml.sh
 | 
					chmod +x bml.sh
 | 
				
			||||||
./bml.sh
 | 
					./bml.sh
 | 
				
			||||||
 | 
					 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										6
									
								
								bml.sh
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								bml.sh
									
									
									
									
									
								
							@@ -51,8 +51,8 @@ if [ "$LOGIN" = "true" ]
 | 
				
			|||||||
#		curl -s -b $COOKIE $BML_URL/userinfo
 | 
					#		curl -s -b $COOKIE $BML_URL/userinfo
 | 
				
			||||||
		echo ""
 | 
							echo ""
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
		#Display error if login was not succuessfull and delete cookie
 | 
							#Display error if login was not successful and delete cookie
 | 
				
			||||||
                echo "${red}An error occured, Please check Username and Password" 1>&2
 | 
					                echo "${red}An error occurred, Please check Username and Password" 1>&2
 | 
				
			||||||
                rm $COOKIE 2> /dev/null
 | 
					                rm $COOKIE 2> /dev/null
 | 
				
			||||||
                exit
 | 
					                exit
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
@@ -79,7 +79,7 @@ elif [ "$MENU" = "2" ]
 | 
				
			|||||||
		echo ""
 | 
							echo ""
 | 
				
			||||||
		echo "1 - Transfer"
 | 
							echo "1 - Transfer"
 | 
				
			||||||
		echo "2 - Add Contact"
 | 
							echo "2 - Add Contact"
 | 
				
			||||||
		echo "3 - Delete Conact"
 | 
							echo "3 - Delete Contact"
 | 
				
			||||||
		echo ""
 | 
							echo ""
 | 
				
			||||||
		printf 'Please Input: '
 | 
							printf 'Please Input: '
 | 
				
			||||||
		read -r CONTACS
 | 
							read -r CONTACS
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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
 | 
				
			||||||
		Reference in New Issue
	
	Block a user