1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! # RPG Chat Command Parser
//!
//! This binary provides a command-line interface (CLI) for parsing RPG-style chat commands.
//!
//! ## Usage
//!
//! You can run the binary with the following subcommands:
//!
//! ### Parse a Single Command
//! ```sh
//! rpg-chat-command-parser parse "<command>"
//! ```
//! Example:
//! ```sh
//! rpg-chat-command-parser parse "/cast fireball --power=high"
//! ```
//!
//! ### Parse Commands from a File
//! ```sh
//! rpg-chat-command-parser file "<file_path>"
//! ```
//! Example:
//! ```sh
//! rpg-chat-command-parser file commands.txt
//! ```
//!
//! ### Display Additional Help Information
//! ```sh
//! rpg-chat-command-parser info
//! ```
//!
//! ## Installation
//! - Clone the repository: `git clone https://github.com/Emril44/rpg-chat-command-parser.git`
//! - Build the project: `cargo build --release`
//! - Run the binary: `./target/release/rpg-chat-command-parser`
pub use CommandError;
pub use ;