def run(self): from init import initialize_project initialize_project() # this needs to be last develop.run(self)
def run(self): from init import initialize_project initialize_project() # this needs to be last install.run(self)
import argparse import init parser = argparse.ArgumentParser() parser.add_argument('name', nargs='+') args = parser.parse_args() for i in args.name: if i == 'init': init.initialize_project()