[PATCH v3 32/32] command: Introduce functions to obtain command arguments