pub enum Commands {
Show 41 variants
Run {
file: PathBuf,
runtime: Option<String>,
timeout_ms: u64,
entry: Option<String>,
capture: Option<String>,
},
Inspect {
snapshot: PathBuf,
},
Snapshot {
file: PathBuf,
output: PathBuf,
runtime: Option<String>,
capture: String,
label: Option<String>,
},
Restore {
snapshot: PathBuf,
target: String,
},
Migrate {Show 23 fields
file: PathBuf,
to: String,
from: Option<String>,
capture: String,
allow_lossy: bool,
no_prefer_bigint: bool,
reject_unsupported: bool,
strict: bool,
output: Option<PathBuf>,
snapshot: Option<PathBuf>,
pir_input: bool,
mode: String,
dry_run: bool,
verify: bool,
target_style: String,
preserve_layout: bool,
require_build: bool,
require_tests: bool,
min_confidence: Option<f64>,
fail_on_unsupported: bool,
keep: Vec<String>,
update: bool,
project: bool,
},
Origin {
location: String,
project: PathBuf,
},
Continuum {
file: PathBuf,
runtime: Option<String>,
output: Option<PathBuf>,
resume: bool,
to: Option<String>,
analyze_only: bool,
inspect_ues: bool,
timeout_ms: u64,
},
Runtimes,
Connectors {
id: Option<String>,
pairs: bool,
family: Option<String>,
maturity: Option<String>,
},
Adapters {
command: Option<AdaptersCommand>,
},
Adapter {
command: AdapterCommand,
},
Analyze {
path: PathBuf,
to: Option<String>,
write_lock: bool,
},
Stacks,
Mappings {
query: Option<String>,
},
Compatibility {
source: String,
target: String,
},
Unsupported {
path: PathBuf,
},
ExplainStack {
path: PathBuf,
to: Option<String>,
},
Observe {
path: PathBuf,
},
Impossible {
path: PathBuf,
to: Option<String>,
strategy: Option<String>,
},
Dissolve {
path: PathBuf,
to: Option<String>,
},
Debt {
path: PathBuf,
to: Option<String>,
},
Detach {
path: PathBuf,
to: Option<String>,
},
Reconstruct,
OptimizeMigration {
path: PathBuf,
to: Option<String>,
},
ExplainBarrier {
id: u32,
path: PathBuf,
to: Option<String>,
},
Blame {
location: String,
},
CherryPick {
commit: String,
},
Patch {
example: bool,
},
Capabilities {
runtime: Option<String>,
continuations: bool,
},
Doctor,
Bench {
iterations: u32,
file: Option<PathBuf>,
to: String,
},
Link {
source: PathBuf,
target: PathBuf,
policy: String,
},
Sync {
path: PathBuf,
check: bool,
reverse: bool,
lint: bool,
patch: bool,
no_verify: bool,
property: bool,
deterministic: bool,
},
Status {
path: PathBuf,
},
Ci {
path: PathBuf,
},
History {
path: PathBuf,
},
Rollback {
path: PathBuf,
},
Explain {
location: String,
path: PathBuf,
},
Why {
file: String,
path: PathBuf,
},
Verify {
path: PathBuf,
property: bool,
deterministic: bool,
performance: bool,
},
Version {
format: VersionFmt,
},
}Expand description
Top-level commands.
Variants§
Run
Execute a guest program.
Fields
Inspect
Inspect a .plx snapshot.
Snapshot
Capture program state into a .plx snapshot.
Fields
Restore
Restore a snapshot into a runtime (verifies restore).
Migrate
Migrate state (PIR) or an entire project (Transmute).
Fields
Origin
Look up the original source location for a generated line (file:line).
Fields
Continuum
Continuum: explicit safepoint capture / UES inspect / checkpoint resume.
Fields
Runtimes
List registered runtimes and status.
Connectors
List the full language connector catalog (all languages Parallax knows).
Fields
Adapters
Atlas: list / inspect modular adapters.
Fields
command: Option<AdaptersCommand>Adapter
Atlas: scaffold or validate a third-party adapter (stubs).
Fields
command: AdapterCommandAnalyze
Atlas: detect project stack and adapter plan.
Fields
Stacks
Atlas: list known target stack presets.
Mappings
Atlas: show dependency equivalence mappings.
Compatibility
Atlas: language-pair compatibility scores.
Unsupported
Atlas: report scaffold / unsupported adapter surface for a project.
ExplainStack
Atlas: explain why a target stack was selected.
Observe
Event Horizon: inspect a project semantically (no migration).
Impossible
Event Horizon: report hard barriers + preservation strategy.
Fields
Dissolve
Event Horizon: shrink polyglot islands one step.
Debt
Event Horizon: compatibility debt / target purity.
Detach
Event Horizon: check if source runtime can be detached.
Reconstruct
Event Horizon: source-less behavioral reconstruction (scaffold).
OptimizeMigration
Event Horizon: propose replacing capsules/islands with native semantics.
ExplainBarrier
Event Horizon: explain a barrier from plx impossible.
Blame
Event Horizon: semantic blame for a generated location (scaffold).
CherryPick
Event Horizon: semantic cherry-pick (scaffold).
Patch
Event Horizon: show / emit a semantic patch (.plxp) example.
Capabilities
Show capability matrix.
Fields
Doctor
Probe host for runtime readiness.
Bench
Micro-benchmark capture/migrate/restore for the demo shape.
Fields
Link
Link source and target projects for Mirror sync.
Fields
Sync
Incrementally synchronize a linked pair.
Fields
Status
Show Mirror link status / drift.
Ci
CI entrypoint (sync –check + verify).
History
Show sync history.
Rollback
Rollback last sync snapshot.
Explain
Explain a generated location (file:line).
Why
Explain why a target file changed.
Verify
Verify linked target (differential tests).
Version
Show version / build info.
Fields
format: VersionFmtTrait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for Commands
impl Subcommand for Commands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnsafeUnpin for Commands
impl UnwindSafe for Commands
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more