aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-07-03 23:49:16 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-07-03 23:49:16 +0200
commitc4aa3661d23cd435356a3c27ad3a9a914f6a8af7 (patch)
tree3ff97c33aa2ec2ee1d4bc951d0f4f1fe69f29e51
parentSet up logging. (diff)
downloadmuppet-strings-c4aa3661d23cd435356a3c27ad3a9a914f6a8af7.tar.gz
muppet-strings-c4aa3661d23cd435356a3c27ad3a9a914f6a8af7.tar.xz
Move cache to muppet-strings dir.
-rw-r--r--muppet/__main__.py4
-rw-r--r--muppet/puppet/parser.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/muppet/__main__.py b/muppet/__main__.py
index d72c161..46aecc4 100644
--- a/muppet/__main__.py
+++ b/muppet/__main__.py
@@ -25,7 +25,7 @@ logger.addHandler(ch)
def __main() -> None:
parser = argparse.ArgumentParser(
- prog='puppet-doc configure',
+ prog='muppet',
description='Sets up puppet doc')
parser.add_argument('--env', action='store', default='/etc/puppetlabs/code/modules',
@@ -46,7 +46,7 @@ def __main() -> None:
env = args.env
- cache = Cache('/home/hugo/.cache/puppet-doc')
+ cache = Cache('/home/hugo/.cache/muppet-strings')
modules: list[ModuleEntry]
if args.modules != []:
diff --git a/muppet/puppet/parser.py b/muppet/puppet/parser.py
index b957303..b3724eb 100644
--- a/muppet/puppet/parser.py
+++ b/muppet/puppet/parser.py
@@ -18,7 +18,7 @@ logger = logging.getLogger(__name__)
# TODO cache path
-cache = Cache('/home/hugo/.cache/puppet-doc')
+cache = Cache('/home/hugo/.cache/muppet-strings')
def tagged_list_to_dict(lst: list[Any]) -> dict[Any, Any]: