coderunner

command module
v0.0.0-...-42f938c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2022 License: MIT Imports: 3 Imported by: 0

README ¶

😺

[ 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

  • Install Go from HERE
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

1

  • Click on "Environment Variables"

2

  • Select "PATH" and Click on "Edit"

3

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

4

  • 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

Documentation ¶

The Go Gopher

There is no documentation for this package.

Directories ¶

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL