code: func cmdNameArgs(s string) (string, []string) {
  	// Split the string into the tokens.
  	tokens := strings.Split(strings.TrimSpace(s), " ")
  
  	// Get the command name from the tokens.
  	cmdName := tokens[0]
  
  	// Get the command arguments from the tokens.
  	cmdArgs := make([]string, 0, len(tokens[1:]))
  	for _, t := range tokens[1:] {
  		// Skip the remaining processes if the token is zero value.
  		if t == "" {
  			continue
  		}
  
  		// Set the token to the command arguments.
  		cmdArgs = append(cmdArgs, t)
  	}
  
  	return cmdName, cmdArgs
  }
docs: // cmdNameArgs extracts the command name and the command arguments from
  // the parameter string.