Skip to content

Commit

Permalink
add docs attributte to each file and for each variable
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab committed Dec 22, 2023
1 parent ae5bd2c commit b018b08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/envers/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ def draft(

if not specs["releases"].get(version, {}):
specs["releases"][version] = {
"status": "draft",
"docs": "",
"status": "draft",
"profiles": ["base"],
"spec": {"files": {}},
}
Expand All @@ -196,12 +196,12 @@ def draft(
# Read .env file and populate variables
env_vars = dotenv_values(env_path)
file_spec = {
"type": "dotenv",
"docs": "",
"type": "dotenv",
"vars": {
var: {
"type": "string",
"docs": "",
"type": "string",
"default": value,
}
for var, value in env_vars.items()
Expand Down

0 comments on commit b018b08

Please sign in to comment.