Provided support for cmd arguments with argtable

Exactly what it says on the tin.