BstLabs / py-dynacli

DynaCLI is a cloud-friendly Python library for converting pure Python functions into Linux Shell commands.
https://bstlabs.github.io/py-dynacli/
MIT License
98 stars 5 forks source link

[BUG] Fix the CLI entrypoint cwd code #70

Closed ShahriyarR closed 2 years ago

ShahriyarR commented 2 years ago

Describe the bug

In all test CLI entrypoints we use:

cwd = os.path.dirname(__file__)

They should be changed to:

cwd = os.path.dirname(os.path.realpath(__file__))