chat et al: '.next' and '.config.yaml' are now ignored by ChatDB
This commit is contained in:
@@ -7,7 +7,7 @@ import argcomplete
|
||||
import argparse
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
from .configuration import Config, default_config_path
|
||||
from .configuration import Config, default_config_file
|
||||
from .message import Message
|
||||
from .commands.question import question_cmd
|
||||
from .commands.tags import tags_cmd
|
||||
@@ -24,7 +24,7 @@ def tags_completer(prefix: str, parsed_args: Any, **kwargs: Any) -> list[str]:
|
||||
def create_parser() -> argparse.ArgumentParser:
|
||||
parser = argparse.ArgumentParser(
|
||||
description="ChatMastermind is a Python application that automates conversation with AI")
|
||||
parser.add_argument('-C', '--config', help='Config file name.', default=default_config_path)
|
||||
parser.add_argument('-C', '--config', help='Config file name.', default=default_config_file)
|
||||
|
||||
# subcommand-parser
|
||||
cmdparser = parser.add_subparsers(dest='command',
|
||||
|
||||
Reference in New Issue
Block a user