Open WestheadJ opened 1 month ago
Have command line arguments for specific tasks, this could make it easier for running rather than going through the whole program procedures.
pysmb.py {command} [arguments] pysmb.py -c 0.0.0.0 0.0.0.0
pysmb.py -c 0.0.0.0 0.0.0.0
Using the python module sys the args can be extracted, if there are non carry the program on as usual
sys
Check out https://docs.python.org/3/library/argparse.html
Proposed Idea
Have command line arguments for specific tasks, this could make it easier for running rather than going through the whole program procedures.
Example
pysmb.py {command} [arguments]
pysmb.py -c 0.0.0.0 0.0.0.0
How To Implement
Using the python module
sys
the args can be extracted, if there are non carry the program on as usual