From 0f44ec638de2012c79411e5342929a93b29f2356 Mon Sep 17 00:00:00 2001 From: samedamci Date: Wed, 1 Sep 2021 14:54:45 +0200 Subject: [PATCH] Change attributes names --- pysheller/app.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pysheller/app.py b/pysheller/app.py index d471b51..1c76923 100644 --- a/pysheller/app.py +++ b/pysheller/app.py @@ -6,10 +6,10 @@ from collections import OrderedDict class PySheller: - def __init__(self, app_name: str, app_description: str, scripts_dir: str) -> None: - self.app = app_name - self.desc = app_description - self.__directory = path.abspath(scripts_dir) + def __init__(self, name: str, description: str, commands_dir: str) -> None: + self.app = name + self.desc = description + self.__directory = path.abspath(commands_dir) self.commands = self.get_commands() self.parse_args() self.run()