@click.command()
@click.option('--with-docs/--without-docs', default=False, help='Synchronize and repair embedded documentation. This is disabled by default.')
@click.option('--with-callsigns/--without-callsigns', default=False, help='Repair and fill callsigns. This is disabled by default.')
@configuration
def repair(with_docs, with_callsigns):
 if with_docs:
  sync_docs()
 if with_callsigns:
  repair_callsigns()
 create_missing_dsns()
 fix_group_counters()

@ click . command ( ) @ click . option ( '--with-docs/--without-docs' , default = False , help = 'Synchronize and repair embedded documentation. This is disabled by default.' ) @ click . option ( '--with-callsigns/--without-callsigns' , default = False , help = 'Repair and fill callsigns. This is disabled by default.' ) @ configuration def repair ( with_docs , with_callsigns ) : if with_docs : sync_docs ( ) if with_callsigns : repair_callsigns ( ) create_missing_dsns ( ) fix_group_counters ( )
attempt to repair any invalid data .