def execute(self, ns, devices=None):
        if not devices:
            ret = partition.get_partition_tables(ns)
            devices = [i[0] for i in ret]
        for device in devices:
            device = str2device(ns, device)
            cmd = fcmd.NewTableCommand(title=device.DeviceID)
            yield cmd
            for line in show.partition_table_show(
                    ns, device, self.app.config.human_friendly):
                yield line
Implementation of 'partition-table show' command.
dataset/ETHPy150Open openlmi/openlmi-scripts/commands/storage/lmi/scripts/storage/cmd/partition_table.py/PartitionTableShow.execute