@click.command()<EOL>@click.argument('<STR_LIT>', type=click.Path(exists=True, file_okay=True, dir_okay=False, readable=True))<EOL>def main(miz_path):
from emiz.miz import Miz<EOL>with Miz(miz_path) as m:<EOL><INDENT>mis = m.mission<EOL><DEDENT>result = defaultdict(dict)<EOL>for unit in mis.units:<EOL><INDENT>airport, spot = unit.group_name.split('<STR_LIT:#>')<EOL>spot = int(spot)<EOL>result[airport][spot] = unit.unit_position<EOL><DEDENT>import pickle  <EOL>with open('<STR_LIT>', mode='<STR_LIT:w>') as f:<EOL><INDENT>f.write('<STR_LIT>'.format(pickle.dumps(result)))<EOL><DEDENT>
Artifact from earlier development