diff --git a/cd/__init__.py b/cd/__init__.py index e69de29..b8b46a5 100644 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -0,0 +1,12 @@ +import os +import sys + + +def install_commands(): + print(__file__) + os.link(f'/usr/local/bin/cd-list-environment', __file__) + + +if __name__ == '__main__': + command, _ = sys.argv + print(f'command: {command}') diff --git a/cd/__main__.py b/cd/__main__.py index a840bb6..79f3d39 100644 --- a/cd/__main__.py +++ b/cd/__main__.py @@ -1 +1,5 @@ -print('TODO bootstrap') +import cd + + +if __name__ == '__main__': + cd.install_commands()