Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Tushar Goel <[email protected]>
  • Loading branch information
TG1999 committed Jul 15, 2024
1 parent 9423303 commit 6f1fb23
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions clearcode/management/commands/store_scans.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from clearcode.store_scans import store_scancode_scans_from_cd_items


class Command(BaseCommand):
help = 'Store scancode scans in git repositories'

def add_arguments(self, parser):
parser.add_argument('work_dir', type=str)
parser.add_argument('--github_org', type=str, default="")
parser.add_argument('--count', type=int, default=0)

def handle(self, *args, **options):
store_scancode_scans_from_cd_items(work_dir=options['work_dir'], github_org=options['github_org'], count=options['count'])

0 comments on commit 6f1fb23

Please sign in to comment.