/ examples / cli / fibonacci_generator.sh
fibonacci_generator.sh
1  #!/bin/bash
2  # Fibonacci generator: code creation, execution, documentation, verification
3  # Tests: file creation, code execution, markdown writing, file reading
4  
5  praisonai "Create a Python file at /tmp/fibonacci.py that generates the first 20 Fibonacci numbers, run it to verify the output is correct, then write a summary to /tmp/fib_summary.md explaining the algorithm you used and the output, finally read back both files to confirm everything looks good" --trust