From 77f0559869fa582f93aad718483b140b01e2f97d Mon Sep 17 00:00:00 2001 From: samedamci Date: Wed, 1 Sep 2021 21:52:15 +0200 Subject: [PATCH] Update example --- example/__init__.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/example/__init__.py b/example/__init__.py index 0328f0c..917b396 100644 --- a/example/__init__.py +++ b/example/__init__.py @@ -1,3 +1,10 @@ from pysheller import PySheller +from os import path -PySheller(name="test-app", description="Very example app.", commands_dir="./commands") +cmd_dir_path = path.dirname(path.realpath(__file__)) + +PySheller( + name="test-app", + description="Very example app.", + commands_dir=path.join(cmd_dir_path, "commands"), +)