Skip to content

Commit 4d4ba56

Browse files
committed
Update installation and uninstallation doc.
1 parent e2db36f commit 4d4ba56

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,20 @@ A simple bash script to test JSON API from terminal in a structured and organize
1111

1212
## Installing
1313

14+
```sh
15+
curl -LJO https://raw.githubusercontent.com/subeshb1/api-test/master/api-test.sh
1416
```
15-
curl https://raw.githubusercontent.com/subeshb1/api-test/master/api-test.sh
17+
18+
```sh
19+
chmod +x api-test.sh
20+
```
21+
22+
```
23+
mv api-test.sh /usr/local/bin/api-test
24+
```
25+
26+
```
27+
api-test --help
1628
```
1729

1830
### Alternate Approach
@@ -92,3 +104,9 @@ api-test -f test.json run test_case_1 # running single test case
92104
api-test -f test.json run test_case_1 test_case_2 # running multiple test case
93105
api-test -f test.json run all # running all test case. WARNING: Don't name a test case `all`
94106
```
107+
108+
## Uninstalling
109+
110+
```
111+
rm /usr/local/bin/api-test
112+
```

0 commit comments

Comments
 (0)