PtcRunner.Kernel.CommandArguments (PtcRunner v0.14.0)

Copy Markdown View Source

Parsed standalone command arguments.

Acquisition paths remain confined to this command-boundary value and are consumed before RunCoordinator. Artifact destinations are captured against the invocation working directory after parsing. run destinations move into the sealed phase-6 command continuation; repl and transcript destinations remain on the arguments passed to their dedicated frontends. viewer has no destination: it publishes nothing.

Summary

Types

command()

@type command() ::
  :help
  | :version
  | :init
  | :docs
  | :validate
  | :run
  | :doctor
  | :models
  | :transcript
  | :repl
  | :viewer

t()

@type t() :: %PtcRunner.Kernel.CommandArguments{
  application: binary() | nil,
  command: command(),
  directory: binary() | nil,
  frontend: :standalone | :mix,
  frontend_options: keyword(),
  options: map(),
  ordered_options: keyword(),
  project: term()
}