diff --git a/src/Recyclarr.Cli/Console/Commands/ConfigCreateCommand.cs b/src/Recyclarr.Cli/Console/Commands/ConfigCreateCommand.cs index 9bc91bf0..9cc641b5 100644 --- a/src/Recyclarr.Cli/Console/Commands/ConfigCreateCommand.cs +++ b/src/Recyclarr.Cli/Console/Commands/ConfigCreateCommand.cs @@ -1,7 +1,7 @@ using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using JetBrains.Annotations; -using Recyclarr.Cli.Processors; +using Recyclarr.Cli.Processors.Config; using Recyclarr.TrashLib.ExceptionTypes; using Spectre.Console.Cli; diff --git a/src/Recyclarr.Cli/Console/Commands/ConfigListCommand.cs b/src/Recyclarr.Cli/Console/Commands/ConfigListCommand.cs index 4ca8c529..fa2f3eba 100644 --- a/src/Recyclarr.Cli/Console/Commands/ConfigListCommand.cs +++ b/src/Recyclarr.Cli/Console/Commands/ConfigListCommand.cs @@ -2,7 +2,7 @@ using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using JetBrains.Annotations; using Recyclarr.Cli.Console.Helpers; -using Recyclarr.Cli.Processors; +using Recyclarr.Cli.Processors.Config; using Recyclarr.TrashLib.Config.Listers; using Recyclarr.TrashLib.ExceptionTypes; using Spectre.Console.Cli; diff --git a/src/Recyclarr.Cli/Console/Commands/SyncCommand.cs b/src/Recyclarr.Cli/Console/Commands/SyncCommand.cs index 14c89ecc..44ce5170 100644 --- a/src/Recyclarr.Cli/Console/Commands/SyncCommand.cs +++ b/src/Recyclarr.Cli/Console/Commands/SyncCommand.cs @@ -5,7 +5,7 @@ using JetBrains.Annotations; using Recyclarr.Cli.Console.Helpers; using Recyclarr.Cli.Console.Settings; using Recyclarr.Cli.Migration; -using Recyclarr.Cli.Processors; +using Recyclarr.Cli.Processors.Sync; using Recyclarr.TrashLib.Config; using Recyclarr.TrashLib.Repo; using Spectre.Console.Cli; diff --git a/src/Recyclarr.Cli/Processors/ConfigCreationProcessor.cs b/src/Recyclarr.Cli/Processors/Config/ConfigCreationProcessor.cs similarity index 96% rename from src/Recyclarr.Cli/Processors/ConfigCreationProcessor.cs rename to src/Recyclarr.Cli/Processors/Config/ConfigCreationProcessor.cs index daf347b8..e838bb0e 100644 --- a/src/Recyclarr.Cli/Processors/ConfigCreationProcessor.cs +++ b/src/Recyclarr.Cli/Processors/Config/ConfigCreationProcessor.cs @@ -3,7 +3,7 @@ using Recyclarr.Common; using Recyclarr.TrashLib.ExceptionTypes; using Recyclarr.TrashLib.Startup; -namespace Recyclarr.Cli.Processors; +namespace Recyclarr.Cli.Processors.Config; public class ConfigCreationProcessor : IConfigCreationProcessor { diff --git a/src/Recyclarr.Cli/Processors/ConfigListProcessor.cs b/src/Recyclarr.Cli/Processors/Config/ConfigListProcessor.cs similarity index 96% rename from src/Recyclarr.Cli/Processors/ConfigListProcessor.cs rename to src/Recyclarr.Cli/Processors/Config/ConfigListProcessor.cs index da314985..d91d94a7 100644 --- a/src/Recyclarr.Cli/Processors/ConfigListProcessor.cs +++ b/src/Recyclarr.Cli/Processors/Config/ConfigListProcessor.cs @@ -2,7 +2,7 @@ using Autofac.Features.Indexed; using Recyclarr.TrashLib.Config.Listers; using Recyclarr.TrashLib.Repo; -namespace Recyclarr.Cli.Processors; +namespace Recyclarr.Cli.Processors.Config; public class ConfigListProcessor { diff --git a/src/Recyclarr.Cli/Processors/IConfigCreationProcessor.cs b/src/Recyclarr.Cli/Processors/Config/IConfigCreationProcessor.cs similarity index 67% rename from src/Recyclarr.Cli/Processors/IConfigCreationProcessor.cs rename to src/Recyclarr.Cli/Processors/Config/IConfigCreationProcessor.cs index 6a65db1e..344f61f6 100644 --- a/src/Recyclarr.Cli/Processors/IConfigCreationProcessor.cs +++ b/src/Recyclarr.Cli/Processors/Config/IConfigCreationProcessor.cs @@ -1,4 +1,4 @@ -namespace Recyclarr.Cli.Processors; +namespace Recyclarr.Cli.Processors.Config; public interface IConfigCreationProcessor { diff --git a/src/Recyclarr.Cli/Processors/ServiceProcessorsAutofacModule.cs b/src/Recyclarr.Cli/Processors/ServiceProcessorsAutofacModule.cs index 26a37d1c..4e467cfd 100644 --- a/src/Recyclarr.Cli/Processors/ServiceProcessorsAutofacModule.cs +++ b/src/Recyclarr.Cli/Processors/ServiceProcessorsAutofacModule.cs @@ -1,4 +1,6 @@ using Autofac; +using Recyclarr.Cli.Processors.Config; +using Recyclarr.Cli.Processors.Sync; namespace Recyclarr.Cli.Processors; diff --git a/src/Recyclarr.Cli/Processors/ISyncProcessor.cs b/src/Recyclarr.Cli/Processors/Sync/ISyncProcessor.cs similarity index 76% rename from src/Recyclarr.Cli/Processors/ISyncProcessor.cs rename to src/Recyclarr.Cli/Processors/Sync/ISyncProcessor.cs index 3bb7918c..82a4e3a8 100644 --- a/src/Recyclarr.Cli/Processors/ISyncProcessor.cs +++ b/src/Recyclarr.Cli/Processors/Sync/ISyncProcessor.cs @@ -1,6 +1,6 @@ using Recyclarr.Cli.Console.Settings; -namespace Recyclarr.Cli.Processors; +namespace Recyclarr.Cli.Processors.Sync; public interface ISyncProcessor { diff --git a/src/Recyclarr.Cli/Processors/SyncPipelineExecutor.cs b/src/Recyclarr.Cli/Processors/Sync/SyncPipelineExecutor.cs similarity index 95% rename from src/Recyclarr.Cli/Processors/SyncPipelineExecutor.cs rename to src/Recyclarr.Cli/Processors/Sync/SyncPipelineExecutor.cs index 9aaf796c..af98ca47 100644 --- a/src/Recyclarr.Cli/Processors/SyncPipelineExecutor.cs +++ b/src/Recyclarr.Cli/Processors/Sync/SyncPipelineExecutor.cs @@ -2,7 +2,7 @@ using Recyclarr.Cli.Console.Settings; using Recyclarr.Cli.Pipelines; using Recyclarr.TrashLib.Config.Services; -namespace Recyclarr.Cli.Processors; +namespace Recyclarr.Cli.Processors.Sync; public class SyncPipelineExecutor { diff --git a/src/Recyclarr.Cli/Processors/SyncProcessor.cs b/src/Recyclarr.Cli/Processors/Sync/SyncProcessor.cs similarity index 98% rename from src/Recyclarr.Cli/Processors/SyncProcessor.cs rename to src/Recyclarr.Cli/Processors/Sync/SyncProcessor.cs index 552743a3..7448ac92 100644 --- a/src/Recyclarr.Cli/Processors/SyncProcessor.cs +++ b/src/Recyclarr.Cli/Processors/Sync/SyncProcessor.cs @@ -8,7 +8,7 @@ using Recyclarr.TrashLib.Http; using Recyclarr.TrashLib.Repo.VersionControl; using Spectre.Console; -namespace Recyclarr.Cli.Processors; +namespace Recyclarr.Cli.Processors.Sync; [SuppressMessage("Design", "CA1031:Do not catch general exception types")] public class SyncProcessor : ISyncProcessor diff --git a/src/tests/Recyclarr.Cli.Tests/Processors/ConfigCreationProcessorTest.cs b/src/tests/Recyclarr.Cli.Tests/Processors/ConfigCreationProcessorTest.cs index e913ad7c..564ef4d0 100644 --- a/src/tests/Recyclarr.Cli.Tests/Processors/ConfigCreationProcessorTest.cs +++ b/src/tests/Recyclarr.Cli.Tests/Processors/ConfigCreationProcessorTest.cs @@ -1,6 +1,6 @@ using System.IO.Abstractions; using System.IO.Abstractions.Extensions; -using Recyclarr.Cli.Processors; +using Recyclarr.Cli.Processors.Config; using Recyclarr.Cli.TestLibrary; using Recyclarr.TrashLib.ExceptionTypes; diff --git a/src/tests/Recyclarr.Cli.Tests/Processors/ConfigListProcessorTest.cs b/src/tests/Recyclarr.Cli.Tests/Processors/ConfigListProcessorTest.cs index 6d300a05..bf58c125 100644 --- a/src/tests/Recyclarr.Cli.Tests/Processors/ConfigListProcessorTest.cs +++ b/src/tests/Recyclarr.Cli.Tests/Processors/ConfigListProcessorTest.cs @@ -1,4 +1,4 @@ -using Recyclarr.Cli.Processors; +using Recyclarr.Cli.Processors.Config; using Recyclarr.TestLibrary.Autofac; using Recyclarr.TestLibrary.AutoFixture; using Recyclarr.TrashLib.Config.Listers;