Create generate command