start contextuel : am start sans argument lance l'agent par defaut du projet (issue #30) - resolution pure resolve_start_target, restart identique, REPL sans agent obligatoire
This commit is contained in:
+2
-2
@@ -1283,7 +1283,7 @@ fn handle_line(
|
||||
agent: need("agent name")?,
|
||||
},
|
||||
"start" => Command::Start(StartArgs {
|
||||
agent: need("agent name")?,
|
||||
agent: rest.first().cloned(),
|
||||
background: flag("--background") || flag("-b"),
|
||||
..Default::default()
|
||||
}),
|
||||
@@ -1294,7 +1294,7 @@ fn handle_line(
|
||||
},
|
||||
"restart" => Command::Restart {
|
||||
start: StartArgs {
|
||||
agent: need("agent name")?,
|
||||
agent: rest.first().cloned(),
|
||||
background: flag("--background") || flag("-b"),
|
||||
..Default::default()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user