def get_command(self, ctx, name):
        try:
            if sys.version_info[0] == 2:
                name = name.encode('ascii', 'replace')
            mod = __import__('shpkpr.commands.cmd_' + name, None, None, ['cli'])
        except ImportError:
            return
        return mod.cli
dataset/ETHPy150Open shopkeep/shpkpr/shpkpr/cli/entrypoint.py/ShpkprCLI.get_command/original