Packages

An Elixir SDK for the Amp CLI - programmatic access to Amp's AI coding agent.

Current section

Files

Jump to
amp_sdk examples support example_helper.exs
Raw

examples/support/example_helper.exs

defmodule Examples.Support do
@moduledoc false
alias AmpSdk.ExamplesSupport
def init!(argv \\ System.argv()), do: ExamplesSupport.init!(argv)
def with_execution_surface(options), do: ExamplesSupport.with_execution_surface(options)
def command_opts(opts \\ []), do: ExamplesSupport.command_opts(opts)
def invoke(args, opts \\ []), do: ExamplesSupport.invoke(args, opts)
end