Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions src/together/cli/api/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ def endpoints(ctx: click.Context) -> None:
help="Start endpoint in specified availability zone (e.g., us-central-4b)",
)
@click.option(
"--wait",
is_flag=True,
"--wait/--no-wait",
default=True,
help="Wait for the endpoint to be ready after creation",
)
Expand Down Expand Up @@ -284,7 +283,9 @@ def fetch_and_print_hardware_options(
@endpoints.command()
@click.argument("endpoint-id", required=True)
@click.option(
"--wait", is_flag=True, default=True, help="Wait for the endpoint to stop"
"--wait/--no-wait",
default=True,
help="Wait for the endpoint to stop",
)
@click.pass_obj
@handle_api_errors
Expand All @@ -307,7 +308,9 @@ def stop(client: Together, endpoint_id: str, wait: bool) -> None:
@endpoints.command()
@click.argument("endpoint-id", required=True)
@click.option(
"--wait", is_flag=True, default=True, help="Wait for the endpoint to start"
"--wait/--no-wait",
default=True,
help="Wait for the endpoint to start",
)
@click.pass_obj
@handle_api_errors
Expand Down