pub fn main_with(
args: impl Iterator<Item = String>,
game: Option<&dyn GameTools>,
) -> u8Expand description
Runs the command args on the project of the working folder, with the
game’s tools if this is the game’s tool program, and returns the exit
code: 0 for success, 1 for a failed check or step, 2 for wrong
arguments (SH0nnn), 3 for a setup to fix before running it again
(SH1nnn: no project, a project file that lacks what the command
needs, no game tool program, cargo that doesn’t start).