Compare commits
2 Commits
2604331c7a
...
v0.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 72d02e0a8d | |||
| 74e62a2b0d |
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "markov"
|
||||
version = "0.0.1"
|
||||
version = "0.1.0"
|
||||
description = ""
|
||||
authors = [
|
||||
{name = "ElectronixTM"}
|
||||
|
||||
@ -15,7 +15,10 @@ def interactve_mode(rulebook: Rulebook):
|
||||
print("To get help type \"h:\" in prompt")
|
||||
_print_rules(rulebook.rules)
|
||||
while True:
|
||||
try:
|
||||
user_input = input("#> ")
|
||||
except EOFError:
|
||||
return
|
||||
if user_input.startswith("h:"):
|
||||
print_help()
|
||||
elif user_input.startswith("r:"):
|
||||
|
||||
Reference in New Issue
Block a user