mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-09 13:49:50 -04:00
Added a message about the file format.
This commit is contained in:
@@ -270,7 +270,8 @@ def list_routes():
|
|||||||
|
|
||||||
@notify_command(name='insert-inbound-numbers')
|
@notify_command(name='insert-inbound-numbers')
|
||||||
@click.option('-f', '--file_name', required=True,
|
@click.option('-f', '--file_name', required=True,
|
||||||
help="Full path of the file to upload, file is a with inbound numbers only.")
|
help="""Full path of the file to upload, file is a contains inbound numbers,
|
||||||
|
one number per line. The number must have the format of 07... not 447....""")
|
||||||
def insert_inbound_numbers_from_file(file_name):
|
def insert_inbound_numbers_from_file(file_name):
|
||||||
print("Inserting inbound numbers from {}".format(file_name))
|
print("Inserting inbound numbers from {}".format(file_name))
|
||||||
file = open(file_name)
|
file = open(file_name)
|
||||||
|
|||||||
Reference in New Issue
Block a user