added type coercion for command-line

All inputs from the command are strings, but sometimes an argument needs to be
something other than a string. This adds basic type coercion, so you can input
objects and numbers as well.