bkirkbri/im4clj — comment on commit 5c57891a7e4508c6b41523af730561b22d9ea967
File: src/im4clj/im4java.clj line 73
By neatonk:

I'm suggesting that we could create a custom datatype called `Command` using defrecord. and then implement stringify for it using multimethods or protocols. This allows the use-gm logic to be command specific if necessary. This would still boil down to `(.run ImageCommand ...)`

```clj
(defrecord Command [cmd-seq])
(defmethod stringify-method Command
[cmd]
(if (use-gm?)
(list "gm" (:cmd-seq cmd))
(:cmd-seq cmd)))
```