# Set environment variable $env:RUST_LOG = "info,lanspread_client=debug,lanspread_proto=debug" # Define a function to simulate the input sequence function Simulate-Input { while ($true) { Start-Sleep -Milliseconds 100 "list" Start-Sleep -Milliseconds 100 "get 1" Start-Sleep -Milliseconds 100 "get 25" } } # Run cargo command with piped input from the Simulate-Input function Simulate-Input | cargo run -p lanspread-client -- $args