This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Exit script on any error | |
| set -e | |
| # Install necessary packages and dependencies | |
| sudo apt update | |
| sudo apt install -y \ | |
| build-essential \ | |
| checkinstall \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import argparse | |
| import re | |
| from pathlib import Path | |
| def parse_keys(key: str, value: str) -> dict: | |
| """ | |
| Parses Retrofit annotations (like @Path, @Query, etc.) and extracts their values as Python data types. | |
| Args: |