diff --git a/github-api/list-users.sh b/github-api/list-users.sh index 4752523..3f45833 100644 --- a/github-api/list-users.sh +++ b/github-api/list-users.sh @@ -1,5 +1,15 @@ #!/bin/bash +################################# +About: "this script will show the output details who are admins" +Input: Username:Babapeer + Password:xxxxxxxx + # + #Owner: Abhishek Veeramalla + # + ############################## + helper() + # GitHub API URL API_URL="https://api.github.com" @@ -35,6 +45,13 @@ function list_users_with_read_access { echo "$collaborators" fi } +function helper +{ +expected_cmd_args=2 +if[$# -ne $expected_cmd_args]; then +echo "Please execute the script with required cmd args" +echo "asd" +} # Main script