From 653d80ad25e87fca92979192e0dc886ad09a2c3b Mon Sep 17 00:00:00 2001 From: Stephen Leitnick Date: Sat, 22 Mar 2025 18:43:26 -0400 Subject: [PATCH 1/5] Luau execution impl (#72) * Luau execution impl * Luau execution client impl * Luau execution CLI stub * Luau execution CLI * Docs * Log query params --- README.md | 2 +- docs/cli/cli-luau-execution.md | 54 +++++++ mkdocs.yml | 11 +- src/cli/luau_execution_cli.rs | 237 ++++++++++++++++++++++++++++ src/cli/mod.rs | 5 + src/rbx/types.rs | 6 +- src/rbx/v2/luau_execution.rs | 272 +++++++++++++++++++++++++++++++++ src/rbx/v2/mod.rs | 83 ++++++++++ 8 files changed, 662 insertions(+), 8 deletions(-) create mode 100644 docs/cli/cli-luau-execution.md create mode 100644 src/cli/luau_execution_cli.rs create mode 100644 src/rbx/v2/luau_execution.rs diff --git a/README.md b/README.md index af24cad..31f0c3c 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Possible use-cases: | :white_check_mark: | User Notifications | | :white_check_mark: | User | | :x: | Creator Store | -| :x: | Luau Execution | +| :white_check_mark: | Luau Execution | - :white_check_mark: = Supported - :x: = Not yet supported diff --git a/docs/cli/cli-luau-execution.md b/docs/cli/cli-luau-execution.md new file mode 100644 index 0000000..48c926d --- /dev/null +++ b/docs/cli/cli-luau-execution.md @@ -0,0 +1,54 @@ +# Luau Execution API + +# Execute Task +Executes Luau code on Roblox. +``` +Usage: rbxcloud luau execute [OPTIONS] --universe-id --place-id --api-key + +Options: + -u, --universe-id Universe ID of the experience + -i, --place-id Place ID of the experience + -r, --version-id Version ID of the experience + -s, --script