cli.bat 212 B

12345678910111213
  1. rem converted cli shell script to bat file
  2. echo off
  3. set PYTHONPATH=%cd%
  4. set DJANGO_SETTINGS_MODULE=sefaria.settings
  5. IF [%1]== [] GOTO P
  6. IF %1== -i GOTO IP
  7. :IP
  8. ipython -i cli.py
  9. GOTO END
  10. :P
  11. python -i cli.py
  12. :END