You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
394 B

6 years ago
## to-git-or-not-to-git-?
6 years ago
### Instructions
Write in a file `to-git-or-not-to-git.sh` the command that isolates your `gitHub id`.
Only the numbers will appear.
adapt this command
```curl -s "https://01.alem.school/api/graphql-engine/v1/graphql" --data '{"query":"{user(where:{githubLogin:{_eq:\"'$USERNAME'\"}}){id}}"}'
```
6 years ago
### Usage
```console
$ ./to-git-or-not-to-git.sh
231748
$
`
```