Parent: #7
What
Wire DonorCli from src/cli/donor.rs into the Commands::Donor variant in main.rs. The subcommand struct with Join, Status, Pause, Resume, Leave, Credits, Logs already exists — it just needs to replace the unit variant and dispatch to the agent lifecycle module.
Files
src/main.rs — change Commands::Donor from unit variant to Donor(cli::donor::DonorCli)
src/cli/donor.rs — implement execute() for each subcommand
Current state
Commands::Donor => { println!("worldcompute donor: not yet implemented"); }
Acceptance
worldcompute donor join --consent scientific enrolls the machine as a donor.
Parent: #7
What
Wire
DonorClifromsrc/cli/donor.rsinto theCommands::Donorvariant inmain.rs. The subcommand struct withJoin,Status,Pause,Resume,Leave,Credits,Logsalready exists — it just needs to replace the unit variant and dispatch to the agent lifecycle module.Files
src/main.rs— changeCommands::Donorfrom unit variant toDonor(cli::donor::DonorCli)src/cli/donor.rs— implementexecute()for each subcommandCurrent state
Acceptance
worldcompute donor join --consent scientificenrolls the machine as a donor.