Description:
Before execute user command, we usually need to split input line into command and args. The goal of this card is to split user input line into two part: 1. command name 2. arg list. You just need to consider space as delimiter.
AC:
Given: User input echo hello world
When: Press enter
Then: Line parsed into command echo, and args ['hello', 'world']
Epic: Process
Description: Before execute user command, we usually need to split input line into command and args. The goal of this card is to split user input line into two part: 1. command name 2. arg list. You just need to consider space
as delimiter.
AC: Given: User input
echo hello world
When: Press enter Then: Line parsed into commandecho
, and args['hello', 'world']