Script manager
For Windows use WSL Need Python 3.10.x
git clone https://github.com/yaso09/camel.git
cd camel
Build code
sh build.sh
Now you can remove clone
cd ..
rm -rf camel
Create example script
echo "echo Hello World!">>test.sh
Package this script
camel -b
Answer questions
Script file (please use formats like `main.py`) (script.sh): test.sh
Script name (your folder name): test
Command (write `exit` to stop): sh test.sh
>> exit
Your script is packaging...
{'name': 'test', 'file_format': 'sh', 'commands': ['sh test.sh'], 'codes': ['echo Hello World!']}
Is this OK? (yes): yes
Test script
camel -t test
Script will return Hello World!
.
For use another repositories open config page
camel -c
It will returns:
CONFIGURE CAMEL
Repository: https://github.com/yaso09/camel
Do you want to change repository? (no): yes
Enter Github repository (user/repo): YOUR GITHUB REPO