Generate the project architecture

How to use the specs.yaml to generate the project architecture

The specs.yaml configuration file can be used to easily create the scaffoldings of the Python project architecture. Here's how to do it:

wf_client generate --from-specs specs.yaml

Which should create all the files needed to run the project.

workflow_v2
├── specs.yaml
├── .specs.yaml
├── task_groups
│   ├── __init__.py
│   ├── closing_read.py
│   └── post_install.py
└── utils
    └── __init__.py

Each time you modify something in the specs.yaml file, don't forget to generate the project again using the same command. The methods definition might change, you will therefore have to handle some merge conflicts.

After the first generation, you will see that a .specs.yaml file was created. Please, don't modify this file, it is used to find the differences between the old and the new specs.yaml after modification.

Last updated