Files
g3/crates/g3-cli/src/simple_output.rs
Dhanji R. Prasanna f10374c925 Remove machine mode entirely from g3
- Delete machine_ui_writer.rs
- Remove --machine CLI flag from cli_args.rs
- Remove run_machine_mode(), run_interactive_machine(), run_autonomous_machine() functions
- Remove handle_machine_command() function
- Simplify OutputMode enum to just use SimpleOutput directly
- Simplify SimpleOutput struct (remove machine_mode field)
- Remove machine_mode parameter from setup_workspace_directory()
- Remove test_machine_option_accepted test
- Disable ACD by default in agent_mode (requires --acd flag)
- Change 'memory checkpoint' message formatting
- Remove dehydration status message
2026-01-12 06:01:31 +05:30

24 lines
422 B
Rust

/// Simple output helper for printing messages
#[derive(Clone)]
pub struct SimpleOutput;
impl SimpleOutput {
pub fn new() -> Self {
SimpleOutput
}
pub fn print(&self, message: &str) {
println!("{}", message);
}
pub fn print_smart(&self, message: &str) {
println!("{}", message);
}
}
impl Default for SimpleOutput {
fn default() -> Self {
Self::new()
}
}