Skip to content

Commit

Permalink
(cake-buildGH-3020) Migrate from Spectre.Cli->Console
Browse files Browse the repository at this point in the history
  • Loading branch information
devlead committed Jan 13, 2021
1 parent 38466d4 commit d5873f0
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/Cake.Cli/Cake.Cli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@

<ItemGroup>
<PackageReference Include="Autofac" Version="6.1.0" />
<PackageReference Include="Spectre.Cli" Version="0.46.0" />
<PackageReference Include="Spectre.Console" Version="0.37.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Cake.Frosting/CakeHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using Cake.Frosting.Internal;
using Cake.NuGet;
using Microsoft.Extensions.DependencyInjection;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake.Frosting
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Frosting/Internal/Commands/DefaultCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using Cake.Core.IO;
using Cake.Core.Packaging;
using Microsoft.Extensions.DependencyInjection;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake.Frosting.Internal
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Cake.Cli;
using Cake.Core.Diagnostics;
using Cake.Core.IO;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake.Frosting.Internal
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Frosting/Internal/TypeRegistrar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System;
using System.Diagnostics;
using Microsoft.Extensions.DependencyInjection;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake.Frosting.Internal
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Frosting/Internal/TypeResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// See the LICENSE file in the project root for more information.

using System;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake.Frosting.Internal
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Tests/Fakes/FakeRemainingArguments.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake.Tests.Fakes
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Tests/Fixtures/BuildFeatureFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using Cake.Testing;
using Cake.Tests.Fakes;
using NSubstitute;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake.Tests.Fixtures
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Tests/Unit/ProgramTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Cake.Features.Building;
using Cake.Tests.Fixtures;
using NSubstitute;
using Spectre.Cli;
using Spectre.Console.Cli;
using Xunit;

namespace Cake.Tests.Unit
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Tests/Utilities/TestContainerConfigurator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Cake.Core.Composition;
using Cake.Core.Configuration;
using Cake.Infrastructure;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake.Tests.Fakes
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake/Commands/DefaultCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using Cake.Core.Diagnostics;
using Cake.Features.Bootstrapping;
using Cake.Features.Building;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake.Commands
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake/Commands/DefaultCommandSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Cake.Cli;
using Cake.Core.Diagnostics;
using Cake.Core.IO;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake.Commands
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake/Features/Bootstrapping/BootstrapFeature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using Cake.Core.Scripting;
using Cake.Core.Scripting.Analysis;
using Cake.Infrastructure;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake.Features.Bootstrapping
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake/Features/Building/BuildFeature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
using Cake.Infrastructure;
using Cake.Infrastructure.Composition;
using Cake.Infrastructure.Scripting;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake.Features.Building
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake/Features/CakeFeature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using Cake.Core.IO;
using Cake.Infrastructure;
using Cake.Infrastructure.Composition;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake.Features
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Autofac;
using Autofac.Builder;
using Cake.Core.Composition;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake.Infrastructure.Composition
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake/Infrastructure/Composition/AutofacTypeResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System;
using Autofac;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake.Infrastructure.Composition
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake/Infrastructure/ContainerConfigurator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using Cake.Core.Scripting;
using Cake.Infrastructure.Scripting;
using Cake.NuGet;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake.Infrastructure
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake/Infrastructure/IContainerConfigurator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using Cake.Core.Composition;
using Cake.Core.Configuration;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake.Infrastructure
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using Cake.Features.Building;
using Cake.Infrastructure;
using Cake.Infrastructure.Composition;
using Spectre.Cli;
using Spectre.Console.Cli;

namespace Cake
{
Expand Down

0 comments on commit d5873f0

Please sign in to comment.