I think the "mine" command needs at least three parameters to fill all obvious applications:
Mine [mineral X] from [location Y], carry contents to [location Z], with the prerequisite that [player corporation] has storage capacity in [location Z].
[Mineral X] and [location Y] could be replaced by "any", and [location Z] could be omitted, in which case the ship would just fill up its cargo hold with ore and wait for new commands.
That's already semi-complicated for a fairly simple task. For more complex tasks, the parameter list may become a bit unwieldy. That's why ThymineC and me suggested chaining commands. Which may feel like programming one's own AI, but work instructions in real life can be just as complex. Hmm, how do we avoid writing ten-page work instructions in LT?