Skip to main contentModule command_parsing
Source - parse_cli_string ๐
- Parses a raw command string into a structured [
CliAction].
See โ../help.txtโ for a list of available commands. - parse_cli_value ๐
- Parses a raw channel value string supporting percentages, hex codes, or raw integers
(According to [ChannelValue]).
- parse_exit ๐
- Parses arguments to construct an [
CliAction::Exit] instance. - parse_get_type ๐
- Parses arguments to construct a [
CliAction::FixtureGetType] instance for querying a fixture type. - parse_move_fixture ๐
- Parses arguments to construct a [
CliAction::FixtureMove] instance for relocating an existing fixture. - parse_new_fixture ๐
- Parses arguments to construct a [
CliAction::FixtureAdd] instance for spawning a new fixture instance. - parse_new_fixture_type ๐
- Parses arguments to construct a [
CliAction::FixtureNew] instance for creating a new fixture type. - parse_property_type ๐
- Parses and validates a property type from a string slice, mapping it to a [
PropertyType]. - parse_remove_fixture ๐
- Parses arguments to construct a [
CliAction::FixtureRemove] instance for removing a fixture. - parse_set_value ๐
- Parses arguments to construct a [
CliAction::FixtureSet] instance for updating a fixture property. - parse_universe_and_channel ๐
- Parses a universe and channel pair formatted as
[universe].[channel] into a tuple. - run_command
- Runs a command string by parsing it into a [
CliAction] and executing it.