> the command should support a variable number of arguments.

Sorry, I don't follow. Can you clarify?