devstream icon indicating copy to clipboard operation
devstream copied to clipboard

:four_leaf_clover: `Proposal`: support apply config directory

Open steinliber opened this issue 2 years ago • 2 comments

What Would You Like to Add? Why Is This Needed?

We support getting config from a file for now. but for more complex config maybe using a directory to save configs is a better choice.

Design

  • if the user run the command dtm apply -f {{dir_name}}, dtm should read all config files in this directory and generate config for the following process

steinliber avatar Jul 27 '22 16:07 steinliber

The current core config is image We can add config varFiles and toolFiles to support multi-tool config and var config, like below image or can use the directory directly image

steinliber avatar Jul 28 '22 03:07 steinliber

If it's because the current config file is already too long, I agree with splitting.

daniel-hutao avatar Jul 28 '22 05:07 daniel-hutao