Created
February 28, 2022 09:26
-
-
Save ShahriyarR/62ed04760bbc19cbc8b6f97405fb58c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
DynaCLI bootstrap script # Change me | |
""" | |
import os | |
import sys | |
from typing import Final | |
from dynacli import main | |
cwd = os.path.dirname(os.path.realpath(__file__)) | |
__version__: Final[str] = "0.0.0" # Change me to define your own version | |
search_path = [cwd] # Change me if you have different path; you can add multiple search pathes | |
sys.path.extend(search_path) | |
# root_packages = ['cli.dev', 'cli.admin'] # Change me if you have predefined root package name | |
# main(search_path, root_packages) # Uncomment if you have root_packages defined | |
main(search_path) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment