Skip to content

On the bash function it may be necessary to use python3 #23

Description

@AlexDCode

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 .
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions