Skip to content

Comments

pr4 Test#5

Closed
homsi6313-art wants to merge 1 commit intoHackYourFuture:mainfrom
homsi6313-art:pr4-test
Closed

pr4 Test#5
homsi6313-art wants to merge 1 commit intoHackYourFuture:mainfrom
homsi6313-art:pr4-test

Conversation

@homsi6313-art
Copy link

This PR implements the parseCommand function in command-parser.js.

The function:

  • Parses user input into command, subCommand, and params.
  • Returns null for empty input.
  • Converts command and subCommand to uppercase.

Unit tests were added in tests/command-parser.test.js.
All tests are passing successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant