From 6c55d4c69829c179940851aedde7ace7b6d9cfc0 Mon Sep 17 00:00:00 2001 From: John Andersen Date: Tue, 25 Jun 2024 18:37:10 +0000 Subject: [PATCH] scripts: ossf scorecard pindeps: docs: Add usage Signed-off-by: John Andersen --- scripts/ossf_scorecard_pindeps.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/ossf_scorecard_pindeps.py b/scripts/ossf_scorecard_pindeps.py index 76716a9074..44cbf25b77 100644 --- a/scripts/ossf_scorecard_pindeps.py +++ b/scripts/ossf_scorecard_pindeps.py @@ -1,3 +1,6 @@ +""" +Usage: python -c 'import sys, shlex, ossf_scorecard_pindeps; ossf_scorecard_pindeps.pin_packages(sys.argv[1:])' pip install pip setuptools wheel | tee requirements-lock.txt +""" import os import sys import json