@@ -128,8 +128,7 @@ def endpoints(ctx: click.Context) -> None:
128128 help = "Start endpoint in specified availability zone (e.g., us-central-4b)" ,
129129)
130130@click .option (
131- "--wait" ,
132- is_flag = True ,
131+ "--wait/--no-wait" ,
133132 default = True ,
134133 help = "Wait for the endpoint to be ready after creation" ,
135134)
@@ -272,7 +271,7 @@ def fetch_and_print_hardware_options(client: Together, model: str | None, print_
272271
273272@endpoints .command ()
274273@click .argument ("endpoint-id" , required = True )
275- @click .option ("--wait" , is_flag = True , default = True , help = "Wait for the endpoint to stop" )
274+ @click .option ("--wait/--no-wait" , default = True , help = "Wait for the endpoint to stop" )
276275@click .pass_obj
277276@handle_api_errors
278277def stop (client : Together , endpoint_id : str , wait : bool ) -> None :
@@ -293,7 +292,7 @@ def stop(client: Together, endpoint_id: str, wait: bool) -> None:
293292
294293@endpoints .command ()
295294@click .argument ("endpoint-id" , required = True )
296- @click .option ("--wait" , is_flag = True , default = True , help = "Wait for the endpoint to start" )
295+ @click .option ("--wait/--no-wait" , default = True , help = "Wait for the endpoint to start" )
297296@click .pass_obj
298297@handle_api_errors
299298def start (client : Together , endpoint_id : str , wait : bool ) -> None :
0 commit comments