add api class
This commit is contained in:
parent
9f3c553740
commit
6b0a3d9fa9
3 changed files with 49 additions and 9 deletions
|
|
@ -2,7 +2,7 @@ import click
|
|||
import os
|
||||
import subprocess
|
||||
import frappe
|
||||
from custom_ui.utils import create_module, create_customer_info_doctype
|
||||
from custom_ui.utils import create_module
|
||||
|
||||
@click.command("build-frontend")
|
||||
@click.option("--site", default=None, help="Site to build frontend for")
|
||||
|
|
@ -55,9 +55,4 @@ def create_module_command():
|
|||
create_module()
|
||||
click.echo("✅ Custom UI module created or already exists.")
|
||||
|
||||
@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]
|
||||
commands = [build_frontend, create_module_command]
|
||||
Loading…
Add table
Add a link
Reference in a new issue