A simple pretty printer for Pig Latin scripts because the default one looks really bad! Runs your pig commands for you, intercepts the output and prints it for you in a delightful manner.
To install Pig Pretty Printer, simply use pip:
pip install pig-manager
After installation, you can run pig-manager from the command line:
pig-manager -f <file> [options]
-f, --file_path: Path to the Pig script file.
-dl, --dump_log: Flag to dump error output.
-do, --dump_out: Flag to dump standard output.
-l, --dump_loc: Location to dump output and error files.
A sample of how pig-manager works:
pig_pretty_printer -f ./example_script.pig -dl -do -l ./logs
![Screenshot 2023-11-20 at 1 25 44 AM](https://private-user-images.githubusercontent.com/85065053/284086622-07f33b2f-77b7-4236-8130-0311a2a90f72.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3NDg2NjYsIm5iZiI6MTcyMTc0ODM2NiwicGF0aCI6Ii84NTA2NTA1My8yODQwODY2MjItMDdmMzNiMmYtNzdiNy00MjM2LTgxMzAtMDMxMWEyYTkwZjcyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIzVDE1MjYwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThiNDY3ODIyMGFlYjEwODhiMWU4MDBlM2YwZjVkMWU0ZWY0OTcxNWQ5ZDJkMTIzM2YwZGM1OTcwYmJkNmY1OTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.gvWOy9db3ChyTq9WNsLsAzh1WwNt80DHXcgtThraqjA)
This project is licensed under the MIT License.