3 from nsconfig.core import Nsc
6 def do_test(nsc: Nsc) -> None:
11 def main(nsc: Nsc) -> None:
12 parser = argparse.ArgumentParser(description='Configure name server')
13 subparsers = parser.add_subparsers(help='action to perform', dest='action', required=True, metavar='ACTION')
15 test_parser = subparsers.add_parser('test', help='test new configuration', description='Test new configuration')
17 args = parser.parse_args()
19 if args.action == 'test':