|
@@ -30,7 +30,7 @@ def acc_acc_struct_update_exec(ctx, e):
|
|
|
|
|
|
@cli.command(
|
|
@cli.command(
|
|
"acc-struct-update",
|
|
"acc-struct-update",
|
|
- help="Run SQL statements to update acc table structure",
|
|
|
|
|
|
+ short_help="Run SQL statements to update acc table structure",
|
|
)
|
|
)
|
|
@pass_context
|
|
@pass_context
|
|
def acc_acc_struct_update(ctx):
|
|
def acc_acc_struct_update(ctx):
|
|
@@ -55,7 +55,7 @@ def acc_mc_struct_update_exec(ctx, e):
|
|
|
|
|
|
@cli.command(
|
|
@cli.command(
|
|
"mc-struct-update",
|
|
"mc-struct-update",
|
|
- help="Run SQL statements to update missed_calls table structure",
|
|
|
|
|
|
+ short_help="Run SQL statements to update missed_calls table structure",
|
|
)
|
|
)
|
|
@pass_context
|
|
@pass_context
|
|
def acc_mc_struct_update(ctx):
|
|
def acc_mc_struct_update(ctx):
|
|
@@ -67,7 +67,7 @@ def acc_mc_struct_update(ctx):
|
|
|
|
|
|
@cli.command(
|
|
@cli.command(
|
|
"tables-struct-update",
|
|
"tables-struct-update",
|
|
- help="Run SQL statements to update acc and missed_calls tables structures",
|
|
|
|
|
|
+ short_help="Run SQL statements to update acc and missed_calls tables structures",
|
|
)
|
|
)
|
|
@pass_context
|
|
@pass_context
|
|
def acc_tables_struct_update(ctx):
|
|
def acc_tables_struct_update(ctx):
|
|
@@ -80,7 +80,7 @@ def acc_tables_struct_update(ctx):
|
|
|
|
|
|
@cli.command(
|
|
@cli.command(
|
|
"cdrs-table-create",
|
|
"cdrs-table-create",
|
|
- help="Run SQL statements to create cdrs table structure",
|
|
|
|
|
|
+ short_help="Run SQL statements to create cdrs table structure",
|
|
)
|
|
)
|
|
@pass_context
|
|
@pass_context
|
|
def acc_cdrs_table_create(ctx):
|
|
def acc_cdrs_table_create(ctx):
|
|
@@ -113,7 +113,7 @@ def acc_cdrs_table_create(ctx):
|
|
|
|
|
|
@cli.command(
|
|
@cli.command(
|
|
"cdrs-proc-create",
|
|
"cdrs-proc-create",
|
|
- help="Run SQL statements to create the stored procedure to generate cdrs",
|
|
|
|
|
|
+ short_help="Run SQL statements to create the stored procedure to generate cdrs",
|
|
)
|
|
)
|
|
@pass_context
|
|
@pass_context
|
|
def acc_cdrs_proc_create(ctx):
|
|
def acc_cdrs_proc_create(ctx):
|
|
@@ -166,7 +166,7 @@ def acc_cdrs_proc_create(ctx):
|
|
|
|
|
|
@cli.command(
|
|
@cli.command(
|
|
"rates-table-create",
|
|
"rates-table-create",
|
|
- help="Run SQL statements to create billing_rates table structure",
|
|
|
|
|
|
+ short_help="Run SQL statements to create billing_rates table structure",
|
|
)
|
|
)
|
|
@pass_context
|
|
@pass_context
|
|
def acc_rates_table_create(ctx):
|
|
def acc_rates_table_create(ctx):
|
|
@@ -233,7 +233,7 @@ def acc_list(ctx, oformat, ostyle, limit):
|
|
|
|
|
|
@cli.command(
|
|
@cli.command(
|
|
"cdrs-generate",
|
|
"cdrs-generate",
|
|
- help="Run SQL stored procedure to generate CDRS",
|
|
|
|
|
|
+ short_help="Run SQL stored procedure to generate CDRS",
|
|
)
|
|
)
|
|
@pass_context
|
|
@pass_context
|
|
def acc_cdrs_generate(ctx):
|
|
def acc_cdrs_generate(ctx):
|
|
@@ -371,7 +371,7 @@ def acc_rates_rm(ctx, dbtname, rate_group, prefix):
|
|
|
|
|
|
@cli.command(
|
|
@cli.command(
|
|
"rates-proc-create",
|
|
"rates-proc-create",
|
|
- help="Run SQL statements to create the stored procedure to rate cdrs",
|
|
|
|
|
|
+ short_help="Run SQL statements to create the stored procedure to rate cdrs",
|
|
)
|
|
)
|
|
@pass_context
|
|
@pass_context
|
|
def acc_rates_proc_create(ctx):
|
|
def acc_rates_proc_create(ctx):
|
|
@@ -411,7 +411,7 @@ def acc_rates_proc_create(ctx):
|
|
|
|
|
|
@cli.command(
|
|
@cli.command(
|
|
"rates-generate",
|
|
"rates-generate",
|
|
- help="Run SQL stored procedure to rate the CDRS and generate the costs",
|
|
|
|
|
|
+ short_help="Run SQL stored procedure to rate the CDRS and generate the costs",
|
|
)
|
|
)
|
|
@click.argument("rate_group", nargs=-1, metavar="[<rate_group>]")
|
|
@click.argument("rate_group", nargs=-1, metavar="[<rate_group>]")
|
|
@pass_context
|
|
@pass_context
|