Change attributes names

This commit is contained in:
samedamci 2021-09-01 14:54:45 +02:00
parent 4a2d31e29b
commit 0f44ec638d
No known key found for this signature in database
GPG Key ID: FCB4A9A20D00E894

View File

@ -6,10 +6,10 @@ from collections import OrderedDict
class PySheller: class PySheller:
def __init__(self, app_name: str, app_description: str, scripts_dir: str) -> None: def __init__(self, name: str, description: str, commands_dir: str) -> None:
self.app = app_name self.app = name
self.desc = app_description self.desc = description
self.__directory = path.abspath(scripts_dir) self.__directory = path.abspath(commands_dir)
self.commands = self.get_commands() self.commands = self.get_commands()
self.parse_args() self.parse_args()
self.run() self.run()