pub struct RunLoopArgs {Show 13 fields
pub max_tasks: u32,
pub debug: bool,
pub resume: bool,
pub non_interactive: bool,
pub dry_run: bool,
pub parallel: Option<u8>,
pub wait_when_blocked: bool,
pub wait_poll_ms: u64,
pub wait_timeout_seconds: u64,
pub notify_when_unblocked: bool,
pub wait_when_empty: bool,
pub empty_poll_ms: u64,
pub agent: RunAgentArgs,
}Fields§
§max_tasks: u32Maximum tasks to run before stopping (0 = no limit).
debug: boolCapture raw supervisor + runner output to .ralph/logs/debug.log.
resume: boolAutomatically resume an interrupted session without prompting.
non_interactive: boolSkip interactive prompts (for CI/non-interactive environments).
dry_run: boolSelect a task and print why it would (or would not) run. Does not invoke any runner and does not write queue/done.
parallel: Option<u8>Run tasks in parallel using N workers (default when flag present: 2).
wait_when_blocked: boolWait when blocked by dependencies/schedule instead of exiting. The loop will poll until a runnable task appears or timeout is reached.
wait_poll_ms: u64Poll interval in milliseconds while waiting for unblocked tasks (default: 1000, min: 50).
wait_timeout_seconds: u64Timeout in seconds for waiting (0 = no timeout).
notify_when_unblocked: boolNotify when queue becomes unblocked (desktop + webhook).
wait_when_empty: boolWait when queue is empty instead of exiting (continuous mode). Alias: –continuous
empty_poll_ms: u64Poll interval in milliseconds while waiting for new tasks when queue is empty (default: 30000, min: 50). Only used with –wait-when-empty.
agent: RunAgentArgsTrait Implementations§
Source§impl Args for RunLoopArgs
impl Args for RunLoopArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for RunLoopArgs
impl FromArgMatches for RunLoopArgs
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.