def _build_args()

in iact3/cli.py [0:0]


    def _build_args(self):
        for name, module in self._modules.items():
            params = self._get_params(module)
            self.args['commands'][name] = {'args': params, 'subcommands': {}}
            for method_name, method_function in self._get_class_methods(module):
                if not method_name.startswith('_'):
                    params = self._get_params(method_function)
                    self.args['commands'][name]['subcommands'][method_name] = params