2024-04-26 21:10:58 +00:00
|
|
|
#! /usr/bin/env python3
|
|
|
|
|
2024-04-26 21:16:11 +00:00
|
|
|
import os
|
2024-04-26 21:10:58 +00:00
|
|
|
import sys
|
|
|
|
|
2024-04-26 19:58:35 +00:00
|
|
|
import cd
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2024-04-26 21:10:58 +00:00
|
|
|
command, *_ = sys.argv
|
|
|
|
command = os.path.basename(command)
|
2024-04-26 21:24:46 +00:00
|
|
|
if command == '__main__.py':
|
|
|
|
cd.install_commands(__file__)
|
|
|
|
else:
|
|
|
|
print(command)
|