echo "I want to create a project that can generate shell scripts from yaml files then upload them to a Jamf Pro server via the Jamf Pro API." | fabric -p create_coding_project
```
### <u>Output</u>:
PROJECT:
Automate shell script generation from YAML files and upload to Jamf Pro server using Jamf Pro API.
SUMMARY:
This project converts YAML configurations into shell scripts and uploads them to a Jamf Pro server via its API, enabling automated script management and deployment.
STEPS:
1. Parse YAML file.
2. Convert YAML to shell script.
3. Authenticate with Jamf Pro API.
4. Upload shell script to Jamf Pro server.
5. Verify upload success.
6. Log upload details.
STRUCTURE:
```css
jamf-script-generator/
├── src/
│ ├── __init__.py
│ ├── yaml_parser.py
│ ├── script_generator.py
│ ├── jamf_api.py
│ └── main.py
├── config/
│ └── example.yaml
├── logs/
│ └── upload.log
├── tests/
│ ├── test_yaml_parser.py
│ ├── test_script_generator.py
│ ├── test_jamf_api.py
│ └── test_main.py
├── requirements.txt
└── README.md
```
DETAILED EXPLANATION:
- src/__init__.py: Initializes the src module.
- src/yaml_parser.py: Parses YAML files.
- src/script_generator.py: Converts YAML data to shell scripts.
- src/jamf_api.py: Handles Jamf Pro API interactions.
- src/main.py: Main script to run the process.
- config/example.yaml: Example YAML configuration file.