Commit 2e9bddbf authored by Filippos Giannakos's avatar Filippos Giannakos
Browse files

Heavily modify flow code.

Add argument parser for input.
Add interactive functions for cleanup and changelog editing
Add automatic version bumping.
parent 8049444d
This diff is collapsed.
......@@ -39,3 +39,11 @@ def query_action(question, default="yes", action=None):
answer = query_yes_no(question, default)
if answer and action is not None:
action()
def query_user(question, default=""):
prompt = "[" + default + "]"
sys.stdout.write(question + prompt)
answer = raw_input()
if answer == "":
return default
return answer
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment