#! /usr/bin/env python3 import sys import cd if __name__ == '__main__': cd.install_commands() command, *_ = sys.argv print(command) command = os.path.basename(command) print(command)