Use outputs/ for all JSON output

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-11 12:36:14 +13:00
parent 22b4117990
commit 758991d75d
7 changed files with 17 additions and 17 deletions

View File

@@ -187,7 +187,7 @@ def build_net_key(net1: str, net2: str) -> str:
def main() -> int:
default_input = os.environ.get("INPUT_FILE", "").strip() or None
default_output = os.environ.get("OUTPUT_FILE", "").strip() or "output/capacitors_by_net_pair.json"
default_output = os.environ.get("OUTPUT_FILE", "").strip() or "outputs/capacitors_by_net_pair.json"
parser = argparse.ArgumentParser(description="List capacitors by net pair from Protel PCB 2.8 ASCII")
parser.add_argument(
@@ -199,7 +199,7 @@ def main() -> int:
parser.add_argument(
"-o", "--output",
default=default_output,
help="Output JSON path (default: OUTPUT_FILE from .env or output/capacitors_by_net_pair.json)",
help="Output JSON path (default: OUTPUT_FILE from .env or outputs/capacitors_by_net_pair.json)",
)
parser.add_argument("--all-two-pad", action="store_true", help="Include all 2-pad parts, not only C*")
args = parser.parse_args()