custom-commands

tokenizeCommand

This utility function splits a command into tokens for analysis.

Description

tokenizeCommand is a utility function designed to break down a command string into an array of command tokens. It accepts the following parameters:

The function returns an array of CommandToken objects, simplifying the process of analyzing and processing command input.