update
This commit is contained in:
parent
d6c2e1cb4a
commit
9f3c553740
5 changed files with 102 additions and 5 deletions
|
|
@ -2,7 +2,7 @@ import click
|
|||
import os
|
||||
import subprocess
|
||||
import frappe
|
||||
from custom_ui.utils import create_module
|
||||
from custom_ui.utils import create_module, create_customer_info_doctype
|
||||
|
||||
@click.command("build-frontend")
|
||||
@click.option("--site", default=None, help="Site to build frontend for")
|
||||
|
|
@ -54,5 +54,10 @@ def build_frontend(site):
|
|||
def create_module_command():
|
||||
create_module()
|
||||
click.echo("✅ Custom UI module created or already exists.")
|
||||
|
||||
commands = [build_frontend, create_module_command]
|
||||
|
||||
@click.command("create-customer-info-doctype")
|
||||
def create_customer_info_doctype_command():
|
||||
create_customer_info_doctype()
|
||||
click.echo("✅ Customer Info doctype created or already exists.")
|
||||
|
||||
commands = [build_frontend, create_module_command, create_customer_info_doctype_command]
|
||||
Loading…
Add table
Add a link
Reference in a new issue