refactor(headless): N2 rename HeadlessCommandLine.Console to ConsoleEnabled

"Console" read as if it might mean System.Console; ConsoleEnabled says
what the flag actually gates. Pure rename, no behavior change.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Erik 2026-09-07 07:48:42 +02:00
parent 97b1c9f6ce
commit 215442dc1d
3 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ internal sealed record HeadlessCommandLine(
string ConfigurationPath,
HeadlessPathOverrides Paths,
HeadlessDirectCredentials? DirectCredentials,
bool Console = false)
bool ConsoleEnabled = false)
{
internal static HeadlessCommandLine Parse(
IReadOnlyList<string> arguments)

View file

@ -76,7 +76,7 @@ internal static class HeadlessEntryPoint
if (commandLine.Command == "run")
{
bool consoleEnabled = HeadlessConsoleOptions.Resolve(
commandLine.Console,
commandLine.ConsoleEnabled,
standardInputIsTerminal);
using var host = new HeadlessProcessHost(
configuration,