Always pass parameters in commands
authorJeremy Stanley <fungi@yuggoth.org>
Thu, 9 May 2019 21:06:35 +0000 (21:06 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Thu, 9 May 2019 21:06:35 +0000 (21:06 +0000)
commit509e33f717fdbd455792f4cba3f2a583dc6100db
tree6d2dc071536800f5fa593694a7ee882349ad128a
parent5576b96f9280d8b9598d4b4806a016854b6a1c65
Always pass parameters in commands

When calling a command handler, pass a parameters object regardless
of whether the command actually needs one. This normalizes the
interface between command actions and their corresponding handler
functions so they can be called through a generic interface in the
future.
mudpy/command.py
share/command.yaml