From ba74e038f70aeb4bd78f7d8df2cc2d7893f6bb2a Mon Sep 17 00:00:00 2001 From: Daan Selen Date: Mon, 3 Mar 2025 14:01:41 +0100 Subject: [PATCH] Renamed meshcentral.conf -> meshbook.conf --- meshbook.py | 4 ++-- .../{meshcentral.conf.template => meshbook.conf.template} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename templates/{meshcentral.conf.template => meshbook.conf.template} (100%) diff --git a/meshbook.py b/meshbook.py index 73a1933..d11490e 100644 --- a/meshbook.py +++ b/meshbook.py @@ -42,7 +42,7 @@ def console(message: str, final: bool=False): async def load_config(segment: str = 'meshcentral-account') -> dict: ''' - Function that loads the segment from the meshcentral.conf (by default) file and returns the it in a dict. + Function that loads the segment from the meshbook.conf (by default) file and returns the it in a dict. ''' conf_file = args.conf @@ -302,7 +302,7 @@ async def main(): parser.add_argument("-mb", "--meshbook", type=str, help="Path to the meshbook yaml file.", required=True) parser.add_argument("-oc", "--oscategories", type=str, help="Path to the Operating System categories JSON file.", required=False, default="./os_categories.json") - parser.add_argument("--conf", type=str, help="Path for the API configuration file (default: ./meshcentral.conf).", required=False, default="./meshcentral.conf") + parser.add_argument("--conf", type=str, help="Path for the API configuration file (default: ./meshbook.conf).", required=False, default="./meshbook.conf") parser.add_argument("--nograce", action="store_true", help="Disable the grace 3 seconds before running the meshbook.", required=False) parser.add_argument("-i", "--indent", action="store_true", help="Use an JSON indentation of 4 when this flag is passed.", required=False) parser.add_argument("-s", "--silent", action="store_true", help="Suppress terminal output", required=False) diff --git a/templates/meshcentral.conf.template b/templates/meshbook.conf.template similarity index 100% rename from templates/meshcentral.conf.template rename to templates/meshbook.conf.template