😺
[ coderunner ]
A simple CLI code-runner program written in Go-lang
This repository is still under development

Usage
Name:
Code-Runner - A simple CLI code-runner program written in Go-lang
Usage:
run -f <path-to-file>
Supported file:
C, C++, Python, NodeJS, Rust
Available Flags:
-f : Pass a filename here to compile + execute
-c : Compile only
-p : Print input details in a table
-r : Remove all output files from output directory
-u : Update coderunner
-h : Available flags
NOTE: All compiled files will be saved in 'out' directory in your current working directory
Installation
Prerequisite
Windows
Automated Installation on Windows
% curl.exe -o install.ps1 https://raw.githubusercontent.com/salientarc/coderunner/main/install.ps1 && ./install.ps1
After this make sure to add ~/.coderunner to PATH
- Search "Env" in windows search

- Click on "Environment Variables"

- Select "PATH" and Click on "Edit"

- Click on "New" and Add
%USERPROFILE%\.coderunner
there and hit "ok"

- After that open powershell and type
run
to use coderunner
Linux/Mac
# make sure wget and git is installed on your system
% wget https://raw.githubusercontent.com/salientarc/coderunner/main/install.sh && chmod +x install.sh
# execute installation script
% ./install.sh
Todo
- Add support for Linux and Mac
- Improve Outputs
- Auto-Update
- Add debugging and logging
Contributing
Any bug reports, requests, typo fixes, etc are welcomed.
License
MIT
Author
SalientArc