mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-05-23 15:26:43 +02:00
15 lines
413 B
Python
15 lines
413 B
Python
import os
|
|
import shutil
|
|
from pathlib import Path
|
|
|
|
from marl_factory_grid.utils.tools import ConfigExplainer
|
|
|
|
if __name__ == '__main__':
|
|
print('Retrieving available options...')
|
|
ce = ConfigExplainer()
|
|
cwd = Path(os.getcwd())
|
|
ce.save_all(cwd / 'full_config.yaml')
|
|
template_path = Path(__file__) / 'marl_factory_grid' / 'modules' / '_template'
|
|
shutil.copytree(template_path, cwd)
|
|
print()
|