Localize all command parsing code into trait impls. #74

Manually merged
projectmoon merged 1 commits from command-try-from into master 2021-05-26 07:03:26 +00:00
Owner

This cleans up the command parser a lot, as all of the one or two line
functions and associated imports have been removed. Unfortunately it
does make the command files larger, as two trait impls are required:
one for converting to Box, and one for converting from
&str to the command type.

Fixes #66.

This cleans up the command parser a lot, as all of the one or two line functions and associated imports have been removed. Unfortunately it does make the command files larger, as two trait impls are required: one for converting to Box<dyn Command>, and one for converting from &str to the command type. Fixes #66.
projectmoon added 1 commit 2021-05-25 23:56:25 +00:00
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
b05129ad9f
Localize all command parsing code into trait impls.
This cleans up the command parser a lot, as all of the one or two line
functions and associated imports have been removed. Unfortunately it
does make the command files larger, as two trait impls are required:
one for converting to Box<dyn Command>, and one for converting from
&str to the command type.

Fixes #66.
projectmoon manually merged commit b05129ad9f into master 2021-05-26 07:03:26 +00:00
projectmoon deleted branch command-try-from 2021-05-26 07:07:49 +00:00
Sign in to join this conversation.
No description provided.