From 3b57f1e118619889b9075ae12e8c5ce4bdfa9273 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Tue, 29 Jun 2021 09:48:10 +0200 Subject: [PATCH] added custom prompt --- work_helpers/excel2changelog.py | 4 +++- work_helpers/sg_mbp_release.py | 8 +++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/work_helpers/excel2changelog.py b/work_helpers/excel2changelog.py index e3d9b7d..ffe27f2 100644 --- a/work_helpers/excel2changelog.py +++ b/work_helpers/excel2changelog.py @@ -14,7 +14,9 @@ col_start = "A" row_start = 8 -def text_to_changelog(raw_text, sheet, start_column, start_row, compact=False, keep=False): +def text_to_changelog( + raw_text, sheet, start_column, start_row, compact=False, keep=False +): cells = [line.split("\t") for line in raw_text.splitlines()] xls_sep = "!" if compact else "\t" diff --git a/work_helpers/sg_mbp_release.py b/work_helpers/sg_mbp_release.py index 0f54af6..ccf729f 100644 --- a/work_helpers/sg_mbp_release.py +++ b/work_helpers/sg_mbp_release.py @@ -150,7 +150,13 @@ def sg_mbp_new_version(version): @click.command() -@click.option("-d", "--dev_version", prompt=True, required=True, default="") +@click.option( + "-d", + "--dev_version", + prompt="Formula + Dev version i.e. '.4c'", + required=True, + default="", +) def sg_mbp_release(dev_version): """ Before running this command: