Skip to content

Commit

Permalink
feat: describe the parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
tjduigna committed May 31, 2022
1 parent b00d24a commit e02b4e6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions template.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
"PROJECT_DESCRIPTION",
]

descriptions = [
"(Ex. made.js, code.js, ...)",
"(Ex. 'COre DEfinitions')",
]

readme = """\
[![npm version](https://badge.fury.io/js/%40exabyte-io%2FPROJECT_NAME.svg)](https://badge.fury.io/js/%40exabyte-io%2FPROJECT_NAME)
[![License: Apache](https://img.shields.io/badge/License-Apache-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
Expand Down Expand Up @@ -64,8 +69,8 @@
"""

values = {}
for param in params:
values[param] = input(f"Please provide a value for {param}: ")
for param, desc in zip(params, descriptions):
values[param] = input(f"Please provide a value for {param} {desc}: ")


def replace(content, values):
Expand Down

0 comments on commit e02b4e6

Please sign in to comment.