import sys
import os
import json


config = open("./config.json")
file = json.load(config)
path = file["path"] 

foldername = str(sys.argv[1])
# path = os.environ.get('mp')
_dir = path + '/' + foldername

try:
    os.mkdir(_dir)
    os.chdir(_dir)
    os.system('git init')
    os.system(f'echo "# {foldername}" > README.md')
    os.system('git add README.md')
    os.system('git commit -m "first commit"')

    print(f'{foldername} created locally')
    os.system('code .')


except:
    print("create <project_name> l")

77f87e6b76ad6e2a01814306fd28eeab04381e0a
<mask token>

<mask token>
try:
    os.mkdir(_dir)
    os.chdir(_dir)
    os.system('git init')
    os.system(f'echo "# {foldername}" > README.md')
    os.system('git add README.md')
    os.system('git commit -m "first commit"')
    print(f'{foldername} created locally')
    os.system('code .')
except:
    print('create <project_name> l')

<mask token>
config = open('./config.json')
file = json.load(config)
path = file['path']
foldername = str(sys.argv[1])
_dir = path + '/' + foldername
try:
    os.mkdir(_dir)
    os.chdir(_dir)
    os.system('git init')
    os.system(f'echo "# {foldername}" > README.md')
    os.system('git add README.md')
    os.system('git commit -m "first commit"')
    print(f'{foldername} created locally')
    os.system('code .')
except:
    print('create <project_name> l')

import sys
import os
import json
config = open('./config.json')
file = json.load(config)
path = file['path']
foldername = str(sys.argv[1])
_dir = path + '/' + foldername
try:
    os.mkdir(_dir)
    os.chdir(_dir)
    os.system('git init')
    os.system(f'echo "# {foldername}" > README.md')
    os.system('git add README.md')
    os.system('git commit -m "first commit"')
    print(f'{foldername} created locally')
    os.system('code .')
except:
    print('create <project_name> l')

import sys
import os
import json


config = open("./config.json")
file = json.load(config)
path = file["path"] 

foldername = str(sys.argv[1])
# path = os.environ.get('mp')
_dir = path + '/' + foldername

try:
    os.mkdir(_dir)
    os.chdir(_dir)
    os.system('git init')
    os.system(f'echo "# {foldername}" > README.md')
    os.system('git add README.md')
    os.system('git commit -m "first commit"')

    print(f'{foldername} created locally')
    os.system('code .')


except:
    print("create <project_name> l")
