A Holberton School checker tool to avoid using your browser to check manaully every task of your current project.
This is a fork of the original project by Diego Lopez. Please check his page
You need the tools section available in the intranet. You can check if you have this icon in the left menu:
Run the instalation script
$ bash <(curl -sL https://github.com/Athesto/CLI_Checker/raw/main/install.sh)
$ checker
the program are going to ask for:
- your holberton's email (xxxx@holbertonshcool.com)
- your API key (link)
- it's in the Intranet > Tools > Holberton's Intranet API key
- it's an HEX string of 32 chars ex.
123abc123abcdef99001122cdef12351
- your intranet's password (it will be hidden so don't worry if you don't see the chars)
just run cecker in your terminal ant the checker terminal will start
$ checker
CLI-Checker ⚡
Now that you are in the console, you has to select the project with project <num>
.
The project's number is the last number of the url
Suppose that you want to check the project 0x00. C - Hello, World
The url is https://intranet.hbtn.io/projects/212
So, the project's number is 212
CLI-@Checker ⚡$ project 212
0 - Preprocessor
1 - Compiler
2 - Assembler
3 - Name
4 - Hello, puts
5 - Hello, printf
6 - Size is not grandeur, and territory does not make a nation
7 - What happens when you type gcc main.c
8 - Intel
9 - UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity
┌─ You may now run:
│
└─┬─ check <task number>
├ To check a specific task.
│
├─ check Not implemented yet🤕, Sorry.
├ To check all tasks of current project.
└─┐
├─ To check only task 2 you would run
│
└─ Example: check 2
CLI-@Checker ⚡$ check 1
Task 1 Compiler
Checking your code... 🎉
🔥 Check 0: Approved 🏆
⚡ Check 1: Approved 🔥
🤩 Check 2: Approved 🎊
🥂 Check 3: Approved 🔥
- help: show help.
available
is misspelled - EOF: (Ctrl-D) finish the console
- quit: finish the console (same as EOF)
- project: select project
- check: slect task
To uninstall you only need to delete these files
/opt/checker
/usr/local/bin/checker
- credentials in
~/.config/hbn
$ sudo rm -rf /opt/checker/
$ sudo rm /usr/local/bin/checker
$ rm -rf ~/.config/hbn