Implement auto-download feature for syncback command

- Enhanced the `syncback` command to automatically download Roblox place files from the asset delivery API, allowing for zero-argument usage.
- Updated `Cargo.toml` to include compression features for `reqwest` and moved `tempfile` to dependencies.
- Introduced a new `download` argument in `SyncbackCommand` to specify place IDs for downloading.
- Implemented logic to resolve input file paths, prioritizing downloads when necessary.
- Added sourcemap generation after successful syncback and refreshed the git index if in a repository.
- Updated tests to validate the new download functionality and sourcemap creation.
This commit is contained in:
Joe 2026-02-01 09:46:34 -06:00
parent 8fe908740f
commit 2b2ada219e
32 changed files with 1180 additions and 125 deletions

View file

@ -72,11 +72,16 @@ log = "0.4.29"
num_cpus = "1.17.0"
opener = "0.5.2"
rayon = "1.11.0"
rbx_cookie = "0.1.5"
reqwest = { version = "0.11.27", default-features = false, features = [
"blocking",
"json",
"rustls-tls",
"gzip",
"brotli",
"deflate",
] }
tempfile = "3.24.0"
ritz = "0.1.0"
roblox_install = "1.0.0"
serde = { version = "1.0.228", features = ["derive", "rc"] }
@ -121,5 +126,4 @@ paste = "1.0.15"
pretty_assertions = "1.4.1"
regex = "1"
serde_yaml = "0.8.26"
tempfile = "3.24.0"
walkdir = "2.5.0"