deftask inputs match defn

Allows use of doc-strings and metadata in the task definition