hypercli-cli 0.8.9__tar.gz → 0.8.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/PKG-INFO +1 -1
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/hypercli_cli/instances.py +10 -6
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/pyproject.toml +1 -1
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/.gitignore +0 -0
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/README.md +0 -0
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/hypercli_cli/__init__.py +0 -0
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/hypercli_cli/billing.py +0 -0
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/hypercli_cli/claw.py +0 -0
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/hypercli_cli/cli.py +0 -0
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/hypercli_cli/comfyui.py +0 -0
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/hypercli_cli/flow.py +0 -0
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/hypercli_cli/jobs.py +0 -0
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/hypercli_cli/keys.py +0 -0
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/hypercli_cli/onboard.py +0 -0
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/hypercli_cli/output.py +0 -0
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/hypercli_cli/renders.py +0 -0
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/hypercli_cli/tui/__init__.py +0 -0
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/hypercli_cli/tui/job_monitor.py +0 -0
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/hypercli_cli/user.py +0 -0
- {hypercli_cli-0.8.9 → hypercli_cli-0.8.10}/hypercli_cli/wallet.py +0 -0
|
@@ -190,7 +190,9 @@ def launch(
|
|
|
190
190
|
runtime: Optional[int] = typer.Option(None, "--runtime", "-t", help="Runtime in seconds"),
|
|
191
191
|
interruptible: bool = typer.Option(True, "--interruptible/--on-demand", help="Use interruptible instances"),
|
|
192
192
|
env: Optional[list[str]] = typer.Option(None, "--env", "-e", help="Env vars (KEY=VALUE)"),
|
|
193
|
-
port: Optional[list[
|
|
193
|
+
port: Optional[list[int]] = typer.Option(None, "--port", "-p", help="TCP ports to expose"),
|
|
194
|
+
lb: Optional[int] = typer.Option(None, "--lb", help="HTTPS load balancer port (Traefik + TLS on hostname)"),
|
|
195
|
+
lb_auth: bool = typer.Option(False, "--lb-auth", help="Enable auth on load balancer"),
|
|
194
196
|
registry_user: Optional[str] = typer.Option(None, "--registry-user", help="Private registry username"),
|
|
195
197
|
registry_password: Optional[str] = typer.Option(None, "--registry-password", help="Private registry password"),
|
|
196
198
|
x402: bool = typer.Option(False, "--x402", help="Pay per-use via embedded x402 wallet"),
|
|
@@ -219,12 +221,13 @@ def launch(
|
|
|
219
221
|
|
|
220
222
|
# Parse ports
|
|
221
223
|
ports_dict = None
|
|
222
|
-
if port:
|
|
224
|
+
if port or lb:
|
|
223
225
|
ports_dict = {}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
226
|
+
if port:
|
|
227
|
+
for p in port:
|
|
228
|
+
ports_dict[f"{p}/tcp"] = p
|
|
229
|
+
if lb:
|
|
230
|
+
ports_dict["lb"] = lb
|
|
228
231
|
|
|
229
232
|
# Build registry auth if provided
|
|
230
233
|
registry_auth = None
|
|
@@ -305,6 +308,7 @@ def launch(
|
|
|
305
308
|
interruptible=interruptible,
|
|
306
309
|
env=env_dict,
|
|
307
310
|
ports=ports_dict,
|
|
311
|
+
auth=lb_auth,
|
|
308
312
|
registry_auth=registry_auth,
|
|
309
313
|
)
|
|
310
314
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|