Format the environment so it can be pasted into a shell.
(env: EnvironmentT)
| 131 | |
| 132 | |
| 133 | def print_env(env: EnvironmentT) -> None: |
| 134 | """Format the environment so it can be pasted into a shell.""" |
| 135 | for key, value in sorted(env.items()): |
| 136 | print(f"export {key}={shlex.quote(value)}") |
| 137 | |
| 138 | |
| 139 | def apple_env(host: str) -> EnvironmentT: |