Parse CLI command lines