cppipe is a utility that allows you to use C++ programs as scripts.
It also offers a shell like synthax for seamless command execution.
In this way your scripts can benefit from increased control and speed, while maintaining a lot of the potential for simple command call synthax.
Установление:
git clone https://gitlab.com/venelin98/cppipe.git
cd cppipe
sudo ./install.sh
Running C++ files:
cppipe FILE ARGUMENTS_FOR_FILE...
Options:
-g debug the file, asserts are also enabled
CPPIPEPATH:
CPPIPEPATH is a variable just like PATH and PYTHONPATH, which contains the paths where cppipe searches for source files to execute if they are not found in the current directory.