From d83a7d9dbca996b895401e3f00305aa938b3d76a Mon Sep 17 00:00:00 2001 From: Dennis Doomen Date: Thu, 25 Jun 2026 07:11:36 +0200 Subject: [PATCH] Replace nuke command hints with fallout Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .fallout/build.schema.json | 6 +++--- .../Extensions/HandleShellCompletionAttribute.cs | 2 +- src/Fallout.Build/Utilities/SchemaUtility.cs | 2 +- src/Fallout.Cli/Program.Navigation.cs | 8 ++++---- src/Fallout.Cli/Program.Secrets.cs | 2 +- src/Fallout.Tooling/NuGetToolPathResolver.cs | 2 +- .../SchemaUtilityTest.TestGetBuildSchema.verified.json | 2 +- .../SchemaUtilityTest.TestParameterBuild.verified.json | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.fallout/build.schema.json b/.fallout/build.schema.json index 47c6a4f95..8274ca869 100644 --- a/.fallout/build.schema.json +++ b/.fallout/build.schema.json @@ -124,7 +124,7 @@ "properties": { "CodecovToken": { "type": "string", - "default": "Secrets must be entered via 'nuke :secrets [profile]'" + "default": "Secrets must be entered via 'fallout :secrets [profile]'" }, "Configuration": { "type": "string", @@ -135,7 +135,7 @@ }, "GitHubReleaseGitHubToken": { "type": "string", - "default": "Secrets must be entered via 'nuke :secrets [profile]'" + "default": "Secrets must be entered via 'fallout :secrets [profile]'" }, "IgnoreFailedSources": { "type": "boolean", @@ -146,7 +146,7 @@ }, "NuGetApiKey": { "type": "string", - "default": "Secrets must be entered via 'nuke :secrets [profile]'" + "default": "Secrets must be entered via 'fallout :secrets [profile]'" }, "Solution": { "type": "string", diff --git a/src/Fallout.Build/Execution/Extensions/HandleShellCompletionAttribute.cs b/src/Fallout.Build/Execution/Extensions/HandleShellCompletionAttribute.cs index bd3d13aed..d3b5a1d57 100644 --- a/src/Fallout.Build/Execution/Extensions/HandleShellCompletionAttribute.cs +++ b/src/Fallout.Build/Execution/Extensions/HandleShellCompletionAttribute.cs @@ -22,7 +22,7 @@ public void OnBuildCreated(IReadOnlyCollection executableTarge { "The old-style .nuke configuration is no longer supported.", "You can convert to the new-style .nuke directory by calling:", - " nuke :update" + " fallout :update" }.JoinNewLine()); Environment.Exit(exitCode: -1); } diff --git a/src/Fallout.Build/Utilities/SchemaUtility.cs b/src/Fallout.Build/Utilities/SchemaUtility.cs index c1685fb19..8d9bbefd4 100644 --- a/src/Fallout.Build/Utilities/SchemaUtility.cs +++ b/src/Fallout.Build/Utilities/SchemaUtility.cs @@ -201,7 +201,7 @@ private static JsonObject BuildPropertySchema(MemberInfo member, IFalloutBuild b } if (member.HasCustomAttribute()) - schema["default"] = "Secrets must be entered via 'nuke :secrets [profile]'"; + schema["default"] = "Secrets must be entered via 'fallout :secrets [profile]'"; // Override-with-enumeration: parameters with a value set become string enums (or array-of-string-enums). var valueSet = ParameterService.GetParameterValueSet(member, build)?.Select(x => x.Text).ToList(); diff --git a/src/Fallout.Cli/Program.Navigation.cs b/src/Fallout.Cli/Program.Navigation.cs index bfd191ac0..ede03690e 100644 --- a/src/Fallout.Cli/Program.Navigation.cs +++ b/src/Fallout.Cli/Program.Navigation.cs @@ -10,10 +10,10 @@ namespace Fallout.Cli; partial class Program { - // function nuke- { nuke :PopDirectory; cd $(nuke :GetNextDirectory) } - // function nuke/ { nuke :PushWithChosenRootDirectory; cd $(nuke :GetNextDirectory) } - // function nuke. { nuke :PushWithCurrentRootDirectory; cd $(nuke :GetNextDirectory) } - // function nuke.. { nuke :PushWithParentRootDirectory; cd $(nuke :GetNextDirectory) } + // function fallout- { fallout :PopDirectory; cd $(fallout :GetNextDirectory) } + // function fallout/ { fallout :PushWithChosenRootDirectory; cd $(fallout :GetNextDirectory) } + // function fallout. { fallout :PushWithCurrentRootDirectory; cd $(fallout :GetNextDirectory) } + // function fallout.. { fallout :PushWithParentRootDirectory; cd $(fallout :GetNextDirectory) } private static string SessionId => EnvironmentInfo.Platform switch diff --git a/src/Fallout.Cli/Program.Secrets.cs b/src/Fallout.Cli/Program.Secrets.cs index d6dfc277a..9480566ef 100644 --- a/src/Fallout.Cli/Program.Secrets.cs +++ b/src/Fallout.Cli/Program.Secrets.cs @@ -14,7 +14,7 @@ namespace Fallout.Cli; // TODO: unlock prompt // TODO: environment variable name // TODO: profile vs. environment -// TODO: nuke :profile +// TODO: fallout :profile partial class Program { private const string SaveAndExit = ""; diff --git a/src/Fallout.Tooling/NuGetToolPathResolver.cs b/src/Fallout.Tooling/NuGetToolPathResolver.cs index ec9d7f10c..78e335480 100644 --- a/src/Fallout.Tooling/NuGetToolPathResolver.cs +++ b/src/Fallout.Tooling/NuGetToolPathResolver.cs @@ -141,7 +141,7 @@ from packageVersion in { "Missing package reference/download.", "Run one of the following commands:" - }.Concat(packageCombinations.Distinct().Select(x => $" - nuke :add-package {x.Id} --version {x.Version}")) + }.Concat(packageCombinations.Distinct().Select(x => $" - fallout :add-package {x.Id} --version {x.Version}")) .JoinNewLine(), exception); throw new Exception("Not reachable"); diff --git a/tests/Fallout.Build.Tests/SchemaUtilityTest.TestGetBuildSchema.verified.json b/tests/Fallout.Build.Tests/SchemaUtilityTest.TestGetBuildSchema.verified.json index 31e7c1171..02ef4c0e9 100644 --- a/tests/Fallout.Build.Tests/SchemaUtilityTest.TestGetBuildSchema.verified.json +++ b/tests/Fallout.Build.Tests/SchemaUtilityTest.TestGetBuildSchema.verified.json @@ -87,7 +87,7 @@ }, "SecretParam": { "type": "string", - "default": "Secrets must be entered via 'nuke :secrets [profile]'" + "default": "Secrets must be entered via 'fallout :secrets [profile]'" }, "Skip": { "type": "array", diff --git a/tests/Fallout.Build.Tests/SchemaUtilityTest.TestParameterBuild.verified.json b/tests/Fallout.Build.Tests/SchemaUtilityTest.TestParameterBuild.verified.json index fa308a1d1..06da4cde7 100644 --- a/tests/Fallout.Build.Tests/SchemaUtilityTest.TestParameterBuild.verified.json +++ b/tests/Fallout.Build.Tests/SchemaUtilityTest.TestParameterBuild.verified.json @@ -186,7 +186,7 @@ }, "SecretParam": { "type": "string", - "default": "Secrets must be entered via 'nuke :secrets [profile]'" + "default": "Secrets must be entered via 'fallout :secrets [profile]'" }, "StringArrayParam": { "type": "array",