PoC: flat and advanced mode

This commit is contained in:
2025-10-10 18:13:54 +02:00
commit 2b25bc17b3
14 changed files with 2040 additions and 0 deletions

12
test.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Test script for argparser tool
PID=$!
sleep 2
curl -s -X POST http://localhost:8080/generate \
-H "Content-Type: application/json" \
-d '{"header":"Deploy Script","arguments":[{"params":"-e --env NAME","command":"env","helpText":"Environment"}]}' > test_result.sh
cat test_result.sh
kill $PID 2>/dev/null
echo ""
echo "Test completed successfully!"