Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
morington committed Jun 30, 2024
1 parent 19651b5 commit 602cb7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

*********
## About
<b>Сonfhub</b> is a library that relieves developers of the tedious task of creating and managing configuration files. Instead of wasting valuable time writing configurations, developers can focus on building the site's functionality.
<b>Сonfhub</b> is a library that relieves developers of the tedious task of creating and managing configuration files. Instead of wasting valuable time writing configurations, developers can focus on building the project's functionality.

### History
Based on our own experience and the experience of our colleagues, we realized that the process of working with configurations had become a real burden. We wanted something simple and effective. After several weeks of testing our MVP, we identified the strengths and weaknesses and presented the first alpha version of confhub to the world. Despite its shortcomings, it showed prospects for development.
Expand Down Expand Up @@ -92,7 +92,7 @@ confhub generate_models

This command converts your models into configuration files with a `.yml` extension.

Confhub generates two main files: `settings` and `.secrets`. The secrets are automatically added to `.gitignore`. You can also specify `filename` in models to create additional files in the `config` folder.
Confhub generates two main files: `settings` and `.secrets`. Secrets, as well as files that begin with a dot, are automatically added to `.gitignore`. You can also specify `filename` in models to create additional files in the `config` folder.

__Do not use `secrets` and `filename` at the same time. There may be unexpected consequences at this point!__

Expand Down
2 changes: 1 addition & 1 deletion confhub/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(
from confhub import Confhub
if __name__ == '__main__':
data: type[dataclasses.dataclass] = Confhub(developer_mode=False).data
data: type[dataclasses.dataclass] = Confhub(developer_mode=False).models
print(data.postgresql.host)
"""
Expand Down

0 comments on commit 602cb7a

Please sign in to comment.