fix whitespace
This commit is contained in:
parent
f7a5b3aec1
commit
6a09e6cf44
|
@ -10,6 +10,7 @@ from site_tools.shell.base import BasePrompt, command
|
||||||
|
|
||||||
BINDINGS = KeyBindings()
|
BINDINGS = KeyBindings()
|
||||||
|
|
||||||
|
|
||||||
class DMShell(BasePrompt):
|
class DMShell(BasePrompt):
|
||||||
def __init__(self, cache={}):
|
def __init__(self, cache={}):
|
||||||
super().__init__(cache)
|
super().__init__(cache)
|
||||||
|
@ -60,6 +61,7 @@ class DMShell(BasePrompt):
|
||||||
get_app().exit()
|
get_app().exit()
|
||||||
finally:
|
finally:
|
||||||
raise SystemExit("")
|
raise SystemExit("")
|
||||||
|
|
||||||
@command(usage="""
|
@command(usage="""
|
||||||
[title]HELP FOR THE HELP LORD[/title]
|
[title]HELP FOR THE HELP LORD[/title]
|
||||||
|
|
||||||
|
@ -76,6 +78,7 @@ class DMShell(BasePrompt):
|
||||||
"""
|
"""
|
||||||
super().help(parts)
|
super().help(parts)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
@command(usage="""
|
@command(usage="""
|
||||||
[title]INCREMENT DATE[/title]
|
[title]INCREMENT DATE[/title]
|
||||||
|
|
||||||
|
@ -90,6 +93,7 @@ class DMShell(BasePrompt):
|
||||||
Increment the date by one day.
|
Increment the date by one day.
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
@command(
|
@command(
|
||||||
usage="""
|
usage="""
|
||||||
[title]LOCATION[/title]
|
[title]LOCATION[/title]
|
||||||
|
@ -109,6 +113,7 @@ class DMShell(BasePrompt):
|
||||||
if parts:
|
if parts:
|
||||||
self.cache["location"] = " ".join(parts)
|
self.cache["location"] = " ".join(parts)
|
||||||
self.console.print(f"The party is in {self.cache['location']}.")
|
self.console.print(f"The party is in {self.cache['location']}.")
|
||||||
|
|
||||||
@command(usage="""
|
@command(usage="""
|
||||||
[title]OVERLAND TRAVEL[/title]
|
[title]OVERLAND TRAVEL[/title]
|
||||||
|
|
||||||
|
@ -123,6 +128,7 @@ class DMShell(BasePrompt):
|
||||||
Increment the date by one day and record
|
Increment the date by one day and record
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
@command(usage="""
|
@command(usage="""
|
||||||
[title]WILD MAGIC TABLE[/title]
|
[title]WILD MAGIC TABLE[/title]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user