rpg-chat-command-parser 0.1.0

A command line parser for RPG-like chat commands. Processes commands such as '/heal Player1', '/equip sword', or '/party invite Player2', validates their structure, and produces structured output for integration into games.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! # Integration Tests for RPG Chat Command Parser
//!
//! These tests validate the integration of the parsing library with the application.

use rpg_chat_command_parser::parse_command;

/// Test parsing a valid command.
#[test]
fn test_integration_valid_command() {
    let input = "/cast fireball --power=high";
    let result = parse_command(input);
    assert!(result.is_ok());
}