beetbox / beetbox/confuse

Cretae config from template

Open
#86 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
424
Forks
57
PR merge metrics
No merged PRs in 30d

Description

Is there a way to create a yaml config file from a defined template dict like the one in `/eample/__init__.py`

The use case is to generate a new config file to start with if there is no configuration file defined yet.

config.dump() only dumps the currently loaded config, but I can't find an option how to dump a template dict.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the template dict in `/eample/__init__.py` and the behavior of `config.dump()`. Determine how a template dict could be used when no configuration file is loaded; done means a new YAML config can be generated from that template rather than only dumping the current config.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.