@@ -0,0 +1,1329 @@
+#---------------------------------------------------------------------------------------------%0A# Copyright (c) Microsoft Corporation. All rights reserved.%0A# Licensed under the MIT License. See License.txt in the project root for license information.%0A#---------------------------------------------------------------------------------------------%0A%0Aimport argparse%0Aimport json%0Aimport os%0Aimport re%0Aimport subprocess%0Aimport sys%0A%0Afrom azure.cli.application import Configuration%0A%0Aclass Exporter(json.JSONEncoder):%0A%0A    def default(self, o):#pylint: disable=method-hidden%0A        try:%0A            return super(Exporter, self).default(o)%0A        except TypeError:%0A            return str(o)%0A%0Aparser = argparse.ArgumentParser(description='Command Table Parser')%0Aparser.add_argument('--commands', metavar='N', nargs='+', help='Filter by command scope')%0Aargs = parser.parse_args()%0Acmd_set_names = args.commands%0A%0A# ignore the params passed in now so they aren't used by the cli%0Asys.argv = sys.argv%5B:1%5D%0Aconfig = Configuration(%5B%5D)%0Acmd_table = config.get_command_table()%0Acmd_list = sorted(%5Bcmd_name for cmd_name in cmd_table.keys() if cmd_set_names is None or cmd_name.split()%5B0%5D in cmd_set_names%5D)%0A%0Afor cmd in cmd_list:%0A    cmd_string = 'az %7B%7D -h'.format(cmd)%0A    os.system(cmd_string)%0A    print('%5Cn===============================', flush=True)%0A

Add dump_help.py script. (#723)