https://github.com/itsjwala/ccr
Command line tool for executing programs with input test file and 40+ languages support
https://github.com/itsjwala/ccr
cli code command-line-tool compiler online-judge run
Last synced: 8 months ago
JSON representation
Command line tool for executing programs with input test file and 40+ languages support
- Host: GitHub
- URL: https://github.com/itsjwala/ccr
- Owner: itsjwala
- License: mit
- Created: 2018-03-26T01:53:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T21:12:37.000Z (over 2 years ago)
- Last Synced: 2025-02-01T11:35:01.487Z (9 months ago)
- Topics: cli, code, command-line-tool, compiler, online-judge, run
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 11
- Watchers: 0
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGE.txt
- License: LICENSE
Awesome Lists containing this project
README
# CCR
 [](http://hits.dwyl.io/jigarWala/ccr)
*Command line tool for executing programs with input test file and 40+ languages support.*
### Installing
To install the tool from pip
```sh
pip install ccr```
To install from source
first clone the repo```
git clone https://github.com/jigarWala/ccr.git
cd ccr
```
Than install the `requirements````sh
pip install -r requirements.txt
```
Now install the package by running the following commands```
python setup.py build
python setup.py install```
# Usage
Without using input file
``` sh
ccr test/test.cpp```
With using input file
``` sh
ccr test/test.py -i test/hello.txt
```
> Note above methods uses extension to detect languageSpecifying language explicitly
``` sh
ccr test/test.py -i test/hello.txt -l python3
```
# Demo
[](https://asciinema.org/a/nkDvjjAQ6d0eMhEUMxPNJj2qU)# Note
> For running code on python, preferably use `-l` parameter as python has different version.
> Default is python3, if not specifying by `-l`
## Contributing
Please reach out to me if you wish to contribute to this project
## Authors
* **Jigar Wala** - [jigarWala](https://github.com/jigarWala)
See also the list of [contributors](https://github.com/jigarWala/ccr/contributors) who participated in this project.
## License
This project is licensed under the MIT - see the [LICENSE](./LICENSE) file for details