I am modifying the project to add a new file according to the user extension given in a second argument in the bash command. After setting all up my code cannot run and keep giving errors. In my case, I need to use python3 instead of python because I have Python 3. I would like to see this hint added to the README.md because it can be useful for troubleshooting on the installation.
The modified code in the bash command is:
function create() {
source .env
python3 create.py $1 $2
git init
git remote add origin git@github.com:$USERNAME/$1.git
touch README.md
touch main$2
git add .
git commit -m "Initial commit"
git push -u origin master
code .
}
I am modifying the project to add a new file according to the user extension given in a second argument in the bash command. After setting all up my code cannot run and keep giving errors. In my case, I need to use
python3instead ofpythonbecause I have Python 3. I would like to see this hint added to the README.md because it can be useful for troubleshooting on the installation.The modified code in the bash command is: