Skip to main content

apply_session

Function apply_session 

Source
pub fn apply_session(cmd: QueryCommand, config: &Config) -> QueryCommand
Expand description

Apply session-related flags (-c / -c=ID, –fork), the model override (–model), the subagent override (–agent), and then permission-related flags. Returns the configured QueryCommand.