mix run.live (claude_code_sdk v0.0.1)
View SourceRuns Elixir scripts against the live Claude API instead of using mocks.
This task temporarily disables mocking and runs the specified script with actual API calls. Use with caution as it will make real API calls and incur costs.
Usage
mix run.live script.exs
mix run.live examples/basic_example.exs
mix run.live examples/simple_analyzer.exs path/to/file.txt
Examples
# Run a simple analysis script
mix run.live examples/simple_analyzer.exs lib/claude_code_sdk.ex
# Run any custom script with live API
mix run.live my_script.exs
Options
All additional arguments are passed through to the script.