Skip to content

Commit

Permalink
chore(Args.py): change default cache dir
Browse files Browse the repository at this point in the history
  • Loading branch information
breakthewall committed May 25, 2023
1 parent 89b8d1f commit fd92cab
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions rr_cache/Args.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
from argparse import ArgumentParser
from typing import (
Callable,
)
from typing import Callable
from os import path as os_path

from brs_utils import add_logger_args


here = os_path.dirname(os_path.realpath(__file__))


def build_args_parser(
prog: str,
description: str = '',
Expand Down Expand Up @@ -61,7 +64,7 @@ def add_arguments(parser: ArgumentParser) -> ArgumentParser:
)
parser.add_argument(
'--cache-dir',
default=None,
default=here,
type=str,
help='Path to the cache to generate or read from'
)
Expand Down

0 comments on commit fd92cab

Please sign in to comment.