3939 ENDPOINTS_HARDWARE_HELP_EXAMPLES ,
4040 FINE_TUNING_CREATE_HELP_EXAMPLES ,
4141 FINE_TUNING_DOWNLOAD_HELP_EXAMPLES ,
42+ JIG_BUILD_HELP_EXAMPLES ,
43+ JIG_PUSH_HELP_EXAMPLES ,
44+ JIG_DEPLOY_HELP_EXAMPLES ,
45+ JIG_DESTROY_HELP_EXAMPLES ,
46+ JIG_LOGS_HELP_EXAMPLES ,
47+ JIG_SUBMIT_HELP_EXAMPLES ,
48+ JIG_JOB_STATUS_HELP_EXAMPLES ,
49+ JIG_SECRETS_SET_HELP_EXAMPLES ,
50+ JIG_SECRETS_UNSET_HELP_EXAMPLES ,
51+ JIG_SECRETS_DELETE_HELP_EXAMPLES ,
52+ JIG_VOLUMES_CREATE_HELP_EXAMPLES ,
53+ JIG_VOLUMES_UPDATE_HELP_EXAMPLES ,
4254)
4355from together .lib .cli .utils ._help_formatter import help_formatter
4456from together .lib .cli .utils ._preparse_tokens import preparse_tokens
@@ -426,28 +438,65 @@ async def run_command() -> None:
426438jig_app .command (
427439 (f"{ _CLI } .beta.jig.jig:dockerfile_cli" ), name = "dockerfile" , help = "Generate Dockerfile from jig configuration"
428440)
429- jig_app .command ((f"{ _CLI } .beta.jig.jig:build_cli" ), name = "build" , help = "Build container image" )
430- jig_app .command ((f"{ _CLI } .beta.jig.jig:push_cli" ), name = "push" , help = "Push image to registry" )
431- jig_app .command ((f"{ _CLI } .beta.jig.jig:deploy_cli" ), name = "deploy" , help = "Deploy model to Together" )
441+ jig_app .command (
442+ (f"{ _CLI } .beta.jig.jig:build_cli" ), name = "build" , help = "Build container image" , help_epilogue = JIG_BUILD_HELP_EXAMPLES
443+ )
444+ jig_app .command (
445+ (f"{ _CLI } .beta.jig.jig:push_cli" ), name = "push" , help = "Push image to registry" , help_epilogue = JIG_PUSH_HELP_EXAMPLES
446+ )
447+ jig_app .command (
448+ (f"{ _CLI } .beta.jig.jig:deploy_cli" ),
449+ name = "deploy" ,
450+ help = "Deploy model to Together" ,
451+ help_epilogue = JIG_DEPLOY_HELP_EXAMPLES ,
452+ )
432453jig_app .command ((f"{ _CLI } .beta.jig.jig:status_cli" ), name = "status" , help = "Get deployment status" )
433454jig_app .command ((f"{ _CLI } .beta.jig.jig:endpoint_cli" ), name = "endpoint" , help = "Get deployment endpoint URL" )
434- jig_app .command ((f"{ _CLI } .beta.jig.jig:logs_cli" ), name = "logs" , help = "Get deployment logs" )
435- jig_app .command ((f"{ _CLI } .beta.jig.jig:destroy_cli" ), name = "destroy" , help = "Destroy deployment" )
436- jig_app .command ((f"{ _CLI } .beta.jig.jig:submit_cli" ), name = "submit" , help = "Submit a job to the deployment" )
437- jig_app .command ((f"{ _CLI } .beta.jig.jig:job_status_cli" ), name = "job-status" , help = "Get status of a specific job" )
455+ jig_app .command (
456+ (f"{ _CLI } .beta.jig.jig:logs_cli" ), name = "logs" , help = "Get deployment logs" , help_epilogue = JIG_LOGS_HELP_EXAMPLES
457+ )
458+ jig_app .command (
459+ (f"{ _CLI } .beta.jig.jig:destroy_cli" ),
460+ name = "destroy" ,
461+ help = "Destroy deployment" ,
462+ help_epilogue = JIG_DESTROY_HELP_EXAMPLES ,
463+ )
464+ jig_app .command (
465+ (f"{ _CLI } .beta.jig.jig:submit_cli" ),
466+ name = "submit" ,
467+ help = "Submit a job to the deployment" ,
468+ help_epilogue = JIG_SUBMIT_HELP_EXAMPLES ,
469+ )
470+ jig_app .command (
471+ (f"{ _CLI } .beta.jig.jig:job_status_cli" ),
472+ name = "job-status" ,
473+ help = "Get status of a specific job" ,
474+ help_epilogue = JIG_JOB_STATUS_HELP_EXAMPLES ,
475+ )
438476jig_app .command (
439477 (f"{ _CLI } .beta.jig.jig:queue_status_cli" ), name = "queue-status" , help = "Get queue metrics for the deployment"
440478)
441479jig_app .command ((f"{ _CLI } .beta.jig.jig:list_deployments_cli" ), name = "list" , alias = "ls" , help = "List all deployments" )
442480
443481secrets_app = jig_app .command (App (name = "secrets" , help = "Manage deployment secrets" , group = "Subcommands" ))
444- secrets_app .command ((f"{ _CLI } .beta.jig.jig:secrets_set_cli" ), name = "set" , help = "Set a secret (create or update)" )
445- secrets_app .command ((f"{ _CLI } .beta.jig.jig:secrets_unset_cli" ), name = "unset" , help = "Remove a secret from local state" )
482+ secrets_app .command (
483+ (f"{ _CLI } .beta.jig.jig:secrets_set_cli" ),
484+ name = "set" ,
485+ help = "Set a secret (create or update)" ,
486+ help_epilogue = JIG_SECRETS_SET_HELP_EXAMPLES ,
487+ )
488+ secrets_app .command (
489+ (f"{ _CLI } .beta.jig.jig:secrets_unset_cli" ),
490+ name = "unset" ,
491+ help = "Remove a secret from local state" ,
492+ help_epilogue = JIG_SECRETS_UNSET_HELP_EXAMPLES ,
493+ )
446494secrets_app .command (
447495 (f"{ _CLI } .beta.jig.jig:secrets_delete_cli" ),
448496 name = "delete" ,
449497 help = "Delete a secret and unset it locally" ,
450498 alias = "-d" ,
499+ help_epilogue = JIG_SECRETS_DELETE_HELP_EXAMPLES ,
451500)
452501secrets_app .command (
453502 (f"{ _CLI } .beta.jig.jig:secrets_list_cli" ), name = "list" , alias = "ls" , help = "List all secrets with sync status"
@@ -460,9 +509,13 @@ async def run_command() -> None:
460509 name = "create" ,
461510 alias = "-c" ,
462511 help = "Create a new volume for a Jig deployment" ,
512+ help_epilogue = JIG_VOLUMES_CREATE_HELP_EXAMPLES ,
463513)
464514storage_app .command (
465- (f"{ _CLI } .beta.jig.jig:jig_volumes_update_cli" ), name = "update" , help = "Update a volume and re-upload files"
515+ (f"{ _CLI } .beta.jig.jig:jig_volumes_update_cli" ),
516+ name = "update" ,
517+ help = "Update a volume and re-upload files" ,
518+ help_epilogue = JIG_VOLUMES_UPDATE_HELP_EXAMPLES ,
466519)
467520storage_app .command ((f"{ _CLI } .beta.jig.jig:jig_volumes_delete_cli" ), name = "delete" , help = "Delete a volume" , alias = "-d" )
468521storage_app .command (
0 commit comments