I have a Python program that uses the command line like below
parser = argparse.ArgumentParser()
parser.add_argument("-I", "--example", help="Example: -I example")
When I go to run this I do
py .\name_of_file.py -I example
This is working fine, but the problem I have now is that 'name_of_file.py' calls functions in other files, imports other files, etc. This requires the user to have access to the source code, so this is obviously not a good solution. How can I still add the command line capability while putting the source code behind a wall or an executable or something along those lines?