Skip to content

Commit

Permalink
feat(ci): small QoL improvements to publish_crates.py (#1542)
Browse files Browse the repository at this point in the history
Signed-off-by: Dori Medini <[email protected]>
  • Loading branch information
dorimedini-starkware authored Oct 23, 2024
1 parent bbecffb commit 6080404
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/publish_crates.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env python3.9

import argparse
import subprocess
import sys
from typing import List, Tuple
from typing import List
import toml
import json
import asyncio
Expand Down Expand Up @@ -103,7 +105,10 @@ async def main():
description="Publish a crate and it's dependencies in the local workspace."
)
parser.add_argument(
"--crate", type=str, help="Crate to publish (dependencies will also be published)."
"--crate",
required=True,
type=str,
help="Crate to publish (dependencies will also be published).",
)
parser.add_argument("--dry_run", required=False, action="store_true", help="Dry run.")
args = parser.parse_args()
Expand Down

0 comments on commit 6080404

Please sign in to comment.