diff --git a/README.md b/README.md index c6345487..a82de667 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # Shell -Schell Scripts +Schell Scripts for reference and practice diff --git a/github-api-integration-module.sh b/github-api-integration-module.sh index d94d2951..2fe8dd20 100644 --- a/github-api-integration-module.sh +++ b/github-api-integration-module.sh @@ -1,3 +1,4 @@ + #!/bin/bash ################################ # Author: Abhishek @@ -10,7 +11,8 @@ # Please provide your github token and rest api to the script as input # # -################################ +# +############################### if [ ${#@} -lt 2 ]; then echo "usage: $0 [your github token] [REST expression]" @@ -42,7 +44,3 @@ else # yes - this result is on multiple pages for p in `seq 1 $last_page`; do rest_call "https://api.github.com${GITHUB_API_REST}?page=$p" - done -fi - -cat $TMPFILE