PySCli
About:
A Simple Python Module to get User - Terminal Commands
How To Install?
Windows:
python -m pip install git+https://github.com/sancho1952007/PySCli.git
Linux:
python3 -m pip install git+https://github.com/sancho1952007/PySCli.git
How To Preview The Module After Installation?
Windows:
python -m pyscli
Linux:
python3 -m pyscli
How to Use PySCli?
import pyscli
cmd=pyscli.cli('--hello', sensitive=False)
print(cmd)
This Will Return True If User Enters Windows: your-file.py --hello
or Linux: python3 your-file.py --hello
. Else, It Will Return False.
It Detects Extra Arguments eg: --user, --hi, --hello, and Custom Arguments
!
You Can Add Unlimited Arguments! But, Remember: USE sensitive
keyword to keep argument Case Sensitive ot NOT!
eg: sensitive=True
or sensitive=False
at the END of the Function eg: cli('{keywords}', sensitive=True).