{"id":15113740,"url":"https://github.com/raunaksingh9800/runner","last_synced_at":"2026-01-20T14:07:29.538Z","repository":{"id":256244369,"uuid":"854695498","full_name":"raunaksingh9800/RUNNER","owner":"raunaksingh9800","description":"C++ command-line tool compiler","archived":false,"fork":false,"pushed_at":"2024-10-29T19:50:24.000Z","size":861,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T18:16:10.618Z","etag":null,"topics":["bash-script","command-line","command-line-tool","cpp11","shell-script"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raunaksingh9800.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-09T16:10:04.000Z","updated_at":"2024-10-30T11:53:43.000Z","dependencies_parsed_at":"2024-10-29T20:47:14.997Z","dependency_job_id":null,"html_url":"https://github.com/raunaksingh9800/RUNNER","commit_stats":null,"previous_names":["raunaksingh9800/runner"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raunaksingh9800%2FRUNNER","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raunaksingh9800%2FRUNNER/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raunaksingh9800%2FRUNNER/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raunaksingh9800%2FRUNNER/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raunaksingh9800","download_url":"https://codeload.github.com/raunaksingh9800/RUNNER/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247378140,"owners_count":20929296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash-script","command-line","command-line-tool","cpp11","shell-script"],"created_at":"2024-09-26T01:22:58.189Z","updated_at":"2026-01-20T14:07:29.532Z","avatar_url":"https://github.com/raunaksingh9800.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\n![App Screenshot](https://github.com/raunaksingh9800/RUNNER/blob/main/IMG/runner-github.png?raw=true)\n\n\n# RUNNER\n\nDeveloped a C++ command-line tool that compiles and runs system commands from a `commands.txt` file 📄, handling command parsing, file I/O, and system calls with error handling 🚨. Integrated features for command listing 📝, initialization ⚙️, and efficient data processing using maps and vectors 🔄.\n\n\n## Build 🛠️\n\nTo Build this project run\n```\ngit clone https://github.com/raunaksingh9800/RUNNER.git\n```\n#### macOS / Linux 🍏🐧\n```bash\ng++ -std=c++11 main.cpp ./global_data/*.cpp ./__B2/*.cpp ./__file_handler/*.cpp ./__sys/*.cpp -o ./build/runner\n```\n\n#### Windows 🖥️\n-  Install MinGW or MSYS2\n- Once installed, open the Command Prompt or MSYS2 Shell and navigate to the directory where your C++ file is located.\n``` bash\ng++ -std=c++11 main.cpp ./global_data/*.cpp ./__B2/*.cpp ./__file_handler/*.cpp ./__sys/*.cpp -o ./build/runner.exe\n```\n\n- Using Microsoft Visual Studio\n``` bash\ncl /EHsc main.cpp\n```\n## Run ▶️\n\nMacOs / Linux 🍏🐧\n \n```bash\n./build/runner\n```\nWindows  🖥️\n\n```bash\n./build/runner.exe\n```\n\n## Syntax 💡\n\n| Name | Symbol     | Description                | Example |\n| :-------- | :------- | :------------------------- | :---------------- |\n| Heading |  `-\u003e` | This is like naming your command | ``` -\u003e Run the Program ``` |\n| Argument |  `\u003e` | This is your command's unique identifiers you will use this as an argument in your terminal | ``` \u003e run ``` | \n| command |  `$` | You will Write your command to run in the console Here | ``` $ python main.py ``` | \n \n\n#### \n\n```\n-\u003e Run Test\n\u003e test\n$ ./test\n\n###Ignored Lines\n\n-\u003e Push To Prod\n\u003e push\n$ cp ./build ./prod\n\nIgnored Lines\n\n-\u003e Run Build\n\u003e build\n$ g++ main.cpp -o main\n\n```\n## Argument List 🔧\n \n### Initialise 🆕\n\n```bash\n  runner -init\n```\n\n| Name | Argument     | Description                |\n| :-------- | :------- | :------------------------- |\n| Initialise |  `-init` | Makes a file called `commands.txt` . Where you can add your commands|\n\n OUTPUT\n```bash\nCreated commands.txt succesfully 🎉 \n\nSYNTAX: \n-\u003e \u003cHeading\u003e \n\u003e \u003cArgument\u003e \n$ \u003cCommand\u003e \n\nEXAMPLE: \n-\u003e Your First Command \n\u003e first \n$ echo hello \n\nCopy the Above 👆 Code into commands.txt \nNow Run : runner first \n```\n\n### List 📃\n\n```bash\n  runner -list\n```\n\n| Name | Argument     | Description                |\n| :-------- | :------- | :------------------------- |\n| List |  `-list` | lists all the commands stored in `commands.txt`|\n\n OUTPUT\n```bash\n⏐⎯⎯⎯ Build the project\n        ⏐⎯⎯ build\n\n⏐⎯⎯⎯ clear the terminal\n        ⏐⎯⎯ cls\n\n⏐⎯⎯⎯ push to prod\n        ⏐⎯⎯ push\n\n⏐⎯⎯⎯ run the project\n        ⏐⎯⎯ run\n\n⏐⎯⎯⎯ run test\n```\n\n\n## Example 📘\n\n#### File Structure\n\n```\nroot/\n│\n├── main.py       \n│\n├── commands.txt             \n\n```\n\n#### main.py\n```python\nprint(\"Hello World\")\n```\n#### commands.txt\n```\n-\u003e Run the Program\n\u003e run\n$ python main.py\n```\n\n#### Your input in Terminal / Console\n```\n➜ runner run\n```\n\n#### Output \n```\nRUNNER\n▶ V 1.0 \n\nRun the Program\u003cYellow text\u003e\nYour Command:python main.py\n\nHello World\n```\n## Add To Path 🔗\n\n- macOS : [YouTube Tutorial](https://youtu.be/2J58Pc2ZOAQ?si=zcRetl2UBtrtdrUo) 🍏\n- Linux : [YouTube Tutorial](https://youtu.be/jIunQSnzs1Y?si=dhZDDfJejSVPGAP1) 🐧\n- Windows : [YouTube Tutorial](https://youtu.be/pGRw1bgb1gU?si=EXLIyUoTYgxdq_tY) 🖥️\n## Tech Stack\n\n**C++ 11 with only Standard library**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraunaksingh9800%2Frunner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraunaksingh9800%2Frunner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraunaksingh9800%2Frunner/lists"}