I have a python script which I run on localhost and development in command line with argument, sth as python script.py development - on development and python script.py localhost - on localhost.
Now I want to run this script - when I running script /bin/bash sh,
so I want to run this script from /bin/.bash script.
I added in headers in sh script: #!/usr/bin/env python.
In what way I can achieve this?
do
    if [ $1 == "local" ]; then
      python script.py $1
    elif [ $1 == "development" ]; then
      python script.py $1
What I can do to improve this script?
 
     
     
    