diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index a7ff5a7..248a0f0 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -31,7 +31,7 @@ jobs:
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_OUTPUT
- name: Pack NuGet Package
- run: dotnet pack Sharprompt/Sharprompt.csproj -c Release -o ./dist -p:Version=${{ steps.setup_version.outputs.VERSION }}
+ run: dotnet pack src/Sharprompt/Sharprompt.csproj -c Release -o ./dist -p:Version=${{ steps.setup_version.outputs.VERSION }}
- name: Publish
run: dotnet nuget push dist/*.nupkg -k ${{ steps.login.outputs.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 367e380..78d61ac 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -18,7 +18,7 @@ dotnet test -c Release
The example project can be run with:
```sh
-dotnet run --project Sharprompt.Example
+dotnet run --project samples/Sharprompt.Example
```
## Before Opening a Pull Request
diff --git a/Directory.Build.props b/Directory.Build.props
new file mode 100644
index 0000000..3f0b10e
--- /dev/null
+++ b/Directory.Build.props
@@ -0,0 +1,7 @@
+
+
+ enable
+ true
+ true
+
+
diff --git a/Directory.Packages.props b/Directory.Packages.props
new file mode 100644
index 0000000..22e7de3
--- /dev/null
+++ b/Directory.Packages.props
@@ -0,0 +1,13 @@
+
+
+ true
+
+
+
+
+
+
+
+
+
+
diff --git a/README.md b/README.md
index daa92e2..a90dff1 100644
--- a/README.md
+++ b/README.md
@@ -47,10 +47,10 @@ Console.WriteLine($"Your answer is {answer}");
## Examples
-The project in the folder `Sharprompt.Example` contains all the samples. Please check it.
+The project in the folder `samples/Sharprompt.Example` contains all the samples. Please check it.
```sh
-dotnet run --project Sharprompt.Example
+dotnet run --project samples/Sharprompt.Example
```
## Prompt types
diff --git a/Sharprompt.Example/Sharprompt.Example.csproj b/Sharprompt.Example/Sharprompt.Example.csproj
deleted file mode 100644
index be1f6f9..0000000
--- a/Sharprompt.Example/Sharprompt.Example.csproj
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Exe
- net8.0
- enable
-
-
-
-
-
-
-
-
diff --git a/Sharprompt.slnx b/Sharprompt.slnx
index 749663a..02710e1 100644
--- a/Sharprompt.slnx
+++ b/Sharprompt.slnx
@@ -1,6 +1,6 @@
-
-
-
-
+
+
+
+
diff --git a/Sharprompt.Example/ExampleType.cs b/samples/Sharprompt.Example/ExampleType.cs
similarity index 100%
rename from Sharprompt.Example/ExampleType.cs
rename to samples/Sharprompt.Example/ExampleType.cs
diff --git a/Sharprompt.Example/Models/MyEnum.cs b/samples/Sharprompt.Example/Models/MyEnum.cs
similarity index 100%
rename from Sharprompt.Example/Models/MyEnum.cs
rename to samples/Sharprompt.Example/Models/MyEnum.cs
diff --git a/Sharprompt.Example/Models/MyFormModel.cs b/samples/Sharprompt.Example/Models/MyFormModel.cs
similarity index 100%
rename from Sharprompt.Example/Models/MyFormModel.cs
rename to samples/Sharprompt.Example/Models/MyFormModel.cs
diff --git a/Sharprompt.Example/Program.cs b/samples/Sharprompt.Example/Program.cs
similarity index 100%
rename from Sharprompt.Example/Program.cs
rename to samples/Sharprompt.Example/Program.cs
diff --git a/samples/Sharprompt.Example/Sharprompt.Example.csproj b/samples/Sharprompt.Example/Sharprompt.Example.csproj
new file mode 100644
index 0000000..abc6079
--- /dev/null
+++ b/samples/Sharprompt.Example/Sharprompt.Example.csproj
@@ -0,0 +1,13 @@
+
+
+
+ net8.0
+ Exe
+
+
+
+
+
+
+
+
diff --git a/Sharprompt.SourceGenerator/EnumMetadataGenerator.cs b/src/Sharprompt.SourceGenerator/EnumMetadataGenerator.cs
similarity index 100%
rename from Sharprompt.SourceGenerator/EnumMetadataGenerator.cs
rename to src/Sharprompt.SourceGenerator/EnumMetadataGenerator.cs
diff --git a/Sharprompt.SourceGenerator/PromptBindableGenerator.cs b/src/Sharprompt.SourceGenerator/PromptBindableGenerator.cs
similarity index 100%
rename from Sharprompt.SourceGenerator/PromptBindableGenerator.cs
rename to src/Sharprompt.SourceGenerator/PromptBindableGenerator.cs
diff --git a/Sharprompt.SourceGenerator/Sharprompt.SourceGenerator.csproj b/src/Sharprompt.SourceGenerator/Sharprompt.SourceGenerator.csproj
similarity index 51%
rename from Sharprompt.SourceGenerator/Sharprompt.SourceGenerator.csproj
rename to src/Sharprompt.SourceGenerator/Sharprompt.SourceGenerator.csproj
index 6c253f0..56a3f00 100644
--- a/Sharprompt.SourceGenerator/Sharprompt.SourceGenerator.csproj
+++ b/src/Sharprompt.SourceGenerator/Sharprompt.SourceGenerator.csproj
@@ -3,17 +3,14 @@
netstandard2.0
latest
- enable
true
true
false
- true
- true
-
-
+
+
diff --git a/Sharprompt/AssemblyInfo.cs b/src/Sharprompt/AssemblyInfo.cs
similarity index 100%
rename from Sharprompt/AssemblyInfo.cs
rename to src/Sharprompt/AssemblyInfo.cs
diff --git a/Sharprompt/BindIgnoreAttribute.cs b/src/Sharprompt/BindIgnoreAttribute.cs
similarity index 100%
rename from Sharprompt/BindIgnoreAttribute.cs
rename to src/Sharprompt/BindIgnoreAttribute.cs
diff --git a/Sharprompt/ConfirmOptions.cs b/src/Sharprompt/ConfirmOptions.cs
similarity index 100%
rename from Sharprompt/ConfirmOptions.cs
rename to src/Sharprompt/ConfirmOptions.cs
diff --git a/Sharprompt/Drivers/DefaultConsoleDriver.cs b/src/Sharprompt/Drivers/DefaultConsoleDriver.cs
similarity index 100%
rename from Sharprompt/Drivers/DefaultConsoleDriver.cs
rename to src/Sharprompt/Drivers/DefaultConsoleDriver.cs
diff --git a/Sharprompt/Drivers/IConsoleDriver.cs b/src/Sharprompt/Drivers/IConsoleDriver.cs
similarity index 100%
rename from Sharprompt/Drivers/IConsoleDriver.cs
rename to src/Sharprompt/Drivers/IConsoleDriver.cs
diff --git a/Sharprompt/EnumMetadataRegistry.cs b/src/Sharprompt/EnumMetadataRegistry.cs
similarity index 100%
rename from Sharprompt/EnumMetadataRegistry.cs
rename to src/Sharprompt/EnumMetadataRegistry.cs
diff --git a/Sharprompt/Fluent/ConfirmOptionsExtensions.cs b/src/Sharprompt/Fluent/ConfirmOptionsExtensions.cs
similarity index 100%
rename from Sharprompt/Fluent/ConfirmOptionsExtensions.cs
rename to src/Sharprompt/Fluent/ConfirmOptionsExtensions.cs
diff --git a/Sharprompt/Fluent/InputOptionsExtensions.cs b/src/Sharprompt/Fluent/InputOptionsExtensions.cs
similarity index 100%
rename from Sharprompt/Fluent/InputOptionsExtensions.cs
rename to src/Sharprompt/Fluent/InputOptionsExtensions.cs
diff --git a/Sharprompt/Fluent/ListOptionsExtensions.cs b/src/Sharprompt/Fluent/ListOptionsExtensions.cs
similarity index 100%
rename from Sharprompt/Fluent/ListOptionsExtensions.cs
rename to src/Sharprompt/Fluent/ListOptionsExtensions.cs
diff --git a/Sharprompt/Fluent/MultiSelectOptionsExtensions.cs b/src/Sharprompt/Fluent/MultiSelectOptionsExtensions.cs
similarity index 100%
rename from Sharprompt/Fluent/MultiSelectOptionsExtensions.cs
rename to src/Sharprompt/Fluent/MultiSelectOptionsExtensions.cs
diff --git a/Sharprompt/Fluent/PasswordOptionsExtensions.cs b/src/Sharprompt/Fluent/PasswordOptionsExtensions.cs
similarity index 100%
rename from Sharprompt/Fluent/PasswordOptionsExtensions.cs
rename to src/Sharprompt/Fluent/PasswordOptionsExtensions.cs
diff --git a/Sharprompt/Fluent/SelectOptionsExtensions.cs b/src/Sharprompt/Fluent/SelectOptionsExtensions.cs
similarity index 100%
rename from Sharprompt/Fluent/SelectOptionsExtensions.cs
rename to src/Sharprompt/Fluent/SelectOptionsExtensions.cs
diff --git a/Sharprompt/Forms/ConfirmForm.cs b/src/Sharprompt/Forms/ConfirmForm.cs
similarity index 100%
rename from Sharprompt/Forms/ConfirmForm.cs
rename to src/Sharprompt/Forms/ConfirmForm.cs
diff --git a/Sharprompt/Forms/FormBase.cs b/src/Sharprompt/Forms/FormBase.cs
similarity index 100%
rename from Sharprompt/Forms/FormBase.cs
rename to src/Sharprompt/Forms/FormBase.cs
diff --git a/Sharprompt/Forms/FormRenderer.cs b/src/Sharprompt/Forms/FormRenderer.cs
similarity index 100%
rename from Sharprompt/Forms/FormRenderer.cs
rename to src/Sharprompt/Forms/FormRenderer.cs
diff --git a/Sharprompt/Forms/InputForm.cs b/src/Sharprompt/Forms/InputForm.cs
similarity index 100%
rename from Sharprompt/Forms/InputForm.cs
rename to src/Sharprompt/Forms/InputForm.cs
diff --git a/Sharprompt/Forms/ListForm.cs b/src/Sharprompt/Forms/ListForm.cs
similarity index 100%
rename from Sharprompt/Forms/ListForm.cs
rename to src/Sharprompt/Forms/ListForm.cs
diff --git a/Sharprompt/Forms/MultiSelectForm.cs b/src/Sharprompt/Forms/MultiSelectForm.cs
similarity index 100%
rename from Sharprompt/Forms/MultiSelectForm.cs
rename to src/Sharprompt/Forms/MultiSelectForm.cs
diff --git a/Sharprompt/Forms/PasswordForm.cs b/src/Sharprompt/Forms/PasswordForm.cs
similarity index 100%
rename from Sharprompt/Forms/PasswordForm.cs
rename to src/Sharprompt/Forms/PasswordForm.cs
diff --git a/Sharprompt/Forms/SelectForm.cs b/src/Sharprompt/Forms/SelectForm.cs
similarity index 100%
rename from Sharprompt/Forms/SelectForm.cs
rename to src/Sharprompt/Forms/SelectForm.cs
diff --git a/Sharprompt/Forms/SelectFormBase.cs b/src/Sharprompt/Forms/SelectFormBase.cs
similarity index 100%
rename from Sharprompt/Forms/SelectFormBase.cs
rename to src/Sharprompt/Forms/SelectFormBase.cs
diff --git a/Sharprompt/Forms/TextFormBase.cs b/src/Sharprompt/Forms/TextFormBase.cs
similarity index 100%
rename from Sharprompt/Forms/TextFormBase.cs
rename to src/Sharprompt/Forms/TextFormBase.cs
diff --git a/Sharprompt/InlineItemsAttribute.cs b/src/Sharprompt/InlineItemsAttribute.cs
similarity index 100%
rename from Sharprompt/InlineItemsAttribute.cs
rename to src/Sharprompt/InlineItemsAttribute.cs
diff --git a/Sharprompt/InputOptions.cs b/src/Sharprompt/InputOptions.cs
similarity index 100%
rename from Sharprompt/InputOptions.cs
rename to src/Sharprompt/InputOptions.cs
diff --git a/Sharprompt/Internal/ConsoleKeyBinding.cs b/src/Sharprompt/Internal/ConsoleKeyBinding.cs
similarity index 100%
rename from Sharprompt/Internal/ConsoleKeyBinding.cs
rename to src/Sharprompt/Internal/ConsoleKeyBinding.cs
diff --git a/Sharprompt/Internal/EastAsianWidth.cs b/src/Sharprompt/Internal/EastAsianWidth.cs
similarity index 100%
rename from Sharprompt/Internal/EastAsianWidth.cs
rename to src/Sharprompt/Internal/EastAsianWidth.cs
diff --git a/Sharprompt/Internal/NativeMethods.cs b/src/Sharprompt/Internal/NativeMethods.cs
similarity index 100%
rename from Sharprompt/Internal/NativeMethods.cs
rename to src/Sharprompt/Internal/NativeMethods.cs
diff --git a/Sharprompt/Internal/OffscreenBuffer.cs b/src/Sharprompt/Internal/OffscreenBuffer.cs
similarity index 100%
rename from Sharprompt/Internal/OffscreenBuffer.cs
rename to src/Sharprompt/Internal/OffscreenBuffer.cs
diff --git a/Sharprompt/Internal/OffscreenBufferExtensions.cs b/src/Sharprompt/Internal/OffscreenBufferExtensions.cs
similarity index 100%
rename from Sharprompt/Internal/OffscreenBufferExtensions.cs
rename to src/Sharprompt/Internal/OffscreenBufferExtensions.cs
diff --git a/Sharprompt/Internal/Optional.cs b/src/Sharprompt/Internal/Optional.cs
similarity index 100%
rename from Sharprompt/Internal/Optional.cs
rename to src/Sharprompt/Internal/Optional.cs
diff --git a/Sharprompt/Internal/Paginator.cs b/src/Sharprompt/Internal/Paginator.cs
similarity index 100%
rename from Sharprompt/Internal/Paginator.cs
rename to src/Sharprompt/Internal/Paginator.cs
diff --git a/Sharprompt/Internal/RenderScope.cs b/src/Sharprompt/Internal/RenderScope.cs
similarity index 100%
rename from Sharprompt/Internal/RenderScope.cs
rename to src/Sharprompt/Internal/RenderScope.cs
diff --git a/Sharprompt/Internal/TextInputBuffer.cs b/src/Sharprompt/Internal/TextInputBuffer.cs
similarity index 100%
rename from Sharprompt/Internal/TextInputBuffer.cs
rename to src/Sharprompt/Internal/TextInputBuffer.cs
diff --git a/Sharprompt/Internal/TypeHelper.cs b/src/Sharprompt/Internal/TypeHelper.cs
similarity index 100%
rename from Sharprompt/Internal/TypeHelper.cs
rename to src/Sharprompt/Internal/TypeHelper.cs
diff --git a/Sharprompt/Internal/ValidatorsExtensions.cs b/src/Sharprompt/Internal/ValidatorsExtensions.cs
similarity index 100%
rename from Sharprompt/Internal/ValidatorsExtensions.cs
rename to src/Sharprompt/Internal/ValidatorsExtensions.cs
diff --git a/Sharprompt/ListOptions.cs b/src/Sharprompt/ListOptions.cs
similarity index 100%
rename from Sharprompt/ListOptions.cs
rename to src/Sharprompt/ListOptions.cs
diff --git a/Sharprompt/MemberItemsAttribute.cs b/src/Sharprompt/MemberItemsAttribute.cs
similarity index 100%
rename from Sharprompt/MemberItemsAttribute.cs
rename to src/Sharprompt/MemberItemsAttribute.cs
diff --git a/Sharprompt/ModelBinderRegistry.cs b/src/Sharprompt/ModelBinderRegistry.cs
similarity index 100%
rename from Sharprompt/ModelBinderRegistry.cs
rename to src/Sharprompt/ModelBinderRegistry.cs
diff --git a/Sharprompt/MultiSelectOptions.cs b/src/Sharprompt/MultiSelectOptions.cs
similarity index 100%
rename from Sharprompt/MultiSelectOptions.cs
rename to src/Sharprompt/MultiSelectOptions.cs
diff --git a/Sharprompt/PasswordOptions.cs b/src/Sharprompt/PasswordOptions.cs
similarity index 100%
rename from Sharprompt/PasswordOptions.cs
rename to src/Sharprompt/PasswordOptions.cs
diff --git a/Sharprompt/Prompt.Basic.cs b/src/Sharprompt/Prompt.Basic.cs
similarity index 100%
rename from Sharprompt/Prompt.Basic.cs
rename to src/Sharprompt/Prompt.Basic.cs
diff --git a/Sharprompt/Prompt.Bind.cs b/src/Sharprompt/Prompt.Bind.cs
similarity index 100%
rename from Sharprompt/Prompt.Bind.cs
rename to src/Sharprompt/Prompt.Bind.cs
diff --git a/Sharprompt/Prompt.Configuration.cs b/src/Sharprompt/Prompt.Configuration.cs
similarity index 100%
rename from Sharprompt/Prompt.Configuration.cs
rename to src/Sharprompt/Prompt.Configuration.cs
diff --git a/Sharprompt/PromptBindableAttribute.cs b/src/Sharprompt/PromptBindableAttribute.cs
similarity index 100%
rename from Sharprompt/PromptBindableAttribute.cs
rename to src/Sharprompt/PromptBindableAttribute.cs
diff --git a/Sharprompt/PromptCanceledException.cs b/src/Sharprompt/PromptCanceledException.cs
similarity index 100%
rename from Sharprompt/PromptCanceledException.cs
rename to src/Sharprompt/PromptCanceledException.cs
diff --git a/Sharprompt/PromptConfiguration.cs b/src/Sharprompt/PromptConfiguration.cs
similarity index 100%
rename from Sharprompt/PromptConfiguration.cs
rename to src/Sharprompt/PromptConfiguration.cs
diff --git a/Sharprompt/PromptOptions.cs b/src/Sharprompt/PromptOptions.cs
similarity index 100%
rename from Sharprompt/PromptOptions.cs
rename to src/Sharprompt/PromptOptions.cs
diff --git a/Sharprompt/SelectOptions.cs b/src/Sharprompt/SelectOptions.cs
similarity index 100%
rename from Sharprompt/SelectOptions.cs
rename to src/Sharprompt/SelectOptions.cs
diff --git a/Sharprompt/Sharprompt.csproj b/src/Sharprompt/Sharprompt.csproj
similarity index 85%
rename from Sharprompt/Sharprompt.csproj
rename to src/Sharprompt/Sharprompt.csproj
index b1ad565..11fc923 100644
--- a/Sharprompt/Sharprompt.csproj
+++ b/src/Sharprompt/Sharprompt.csproj
@@ -2,7 +2,6 @@
net8.0
- enable
@@ -15,19 +14,17 @@
https://github.com/shibayan/Sharprompt/releases/tag/v$(Version)
MIT
cli;command-line;console;interactive;prompt;terminal
- true
https://github.com/shibayan/Sharprompt
git
- true
-
-
+
+
-
+
diff --git a/Sharprompt/Strings/Resource.Designer.cs b/src/Sharprompt/Strings/Resource.Designer.cs
similarity index 100%
rename from Sharprompt/Strings/Resource.Designer.cs
rename to src/Sharprompt/Strings/Resource.Designer.cs
diff --git a/Sharprompt/Strings/Resource.de-DE.resx b/src/Sharprompt/Strings/Resource.de-DE.resx
similarity index 100%
rename from Sharprompt/Strings/Resource.de-DE.resx
rename to src/Sharprompt/Strings/Resource.de-DE.resx
diff --git a/Sharprompt/Strings/Resource.ja.resx b/src/Sharprompt/Strings/Resource.ja.resx
similarity index 100%
rename from Sharprompt/Strings/Resource.ja.resx
rename to src/Sharprompt/Strings/Resource.ja.resx
diff --git a/Sharprompt/Strings/Resource.resx b/src/Sharprompt/Strings/Resource.resx
similarity index 100%
rename from Sharprompt/Strings/Resource.resx
rename to src/Sharprompt/Strings/Resource.resx
diff --git a/Sharprompt/Symbol.cs b/src/Sharprompt/Symbol.cs
similarity index 100%
rename from Sharprompt/Symbol.cs
rename to src/Sharprompt/Symbol.cs
diff --git a/Sharprompt/Validators.cs b/src/Sharprompt/Validators.cs
similarity index 100%
rename from Sharprompt/Validators.cs
rename to src/Sharprompt/Validators.cs
diff --git a/Sharprompt.Tests/EnumMetadataRegistryTests.cs b/tests/Sharprompt.Tests/Binding/EnumMetadataRegistryTests.cs
similarity index 100%
rename from Sharprompt.Tests/EnumMetadataRegistryTests.cs
rename to tests/Sharprompt.Tests/Binding/EnumMetadataRegistryTests.cs
diff --git a/Sharprompt.Tests/ModelBinderRegistryTests.cs b/tests/Sharprompt.Tests/Binding/ModelBinderRegistryTests.cs
similarity index 100%
rename from Sharprompt.Tests/ModelBinderRegistryTests.cs
rename to tests/Sharprompt.Tests/Binding/ModelBinderRegistryTests.cs
diff --git a/Sharprompt.Tests/ConsoleDriverFactoryTests.cs b/tests/Sharprompt.Tests/Console/ConsoleDriverFactoryTests.cs
similarity index 100%
rename from Sharprompt.Tests/ConsoleDriverFactoryTests.cs
rename to tests/Sharprompt.Tests/Console/ConsoleDriverFactoryTests.cs
diff --git a/Sharprompt.Tests/ConsoleKeyBindingTests.cs b/tests/Sharprompt.Tests/Console/ConsoleKeyBindingTests.cs
similarity index 100%
rename from Sharprompt.Tests/ConsoleKeyBindingTests.cs
rename to tests/Sharprompt.Tests/Console/ConsoleKeyBindingTests.cs
diff --git a/Sharprompt.Tests/IConsoleDriverTests.cs b/tests/Sharprompt.Tests/Console/IConsoleDriverTests.cs
similarity index 100%
rename from Sharprompt.Tests/IConsoleDriverTests.cs
rename to tests/Sharprompt.Tests/Console/IConsoleDriverTests.cs
diff --git a/Sharprompt.Tests/FluentExtensionsTests.cs b/tests/Sharprompt.Tests/Fluent/FluentExtensionsTests.cs
similarity index 100%
rename from Sharprompt.Tests/FluentExtensionsTests.cs
rename to tests/Sharprompt.Tests/Fluent/FluentExtensionsTests.cs
diff --git a/Sharprompt.Tests/EastAsianWidthTests.cs b/tests/Sharprompt.Tests/Internal/EastAsianWidthTests.cs
similarity index 100%
rename from Sharprompt.Tests/EastAsianWidthTests.cs
rename to tests/Sharprompt.Tests/Internal/EastAsianWidthTests.cs
diff --git a/Sharprompt.Tests/OptionalTests.cs b/tests/Sharprompt.Tests/Internal/OptionalTests.cs
similarity index 100%
rename from Sharprompt.Tests/OptionalTests.cs
rename to tests/Sharprompt.Tests/Internal/OptionalTests.cs
diff --git a/Sharprompt.Tests/PaginatorTests.cs b/tests/Sharprompt.Tests/Internal/PaginatorTests.cs
similarity index 100%
rename from Sharprompt.Tests/PaginatorTests.cs
rename to tests/Sharprompt.Tests/Internal/PaginatorTests.cs
diff --git a/Sharprompt.Tests/TextInputBufferTests.cs b/tests/Sharprompt.Tests/Internal/TextInputBufferTests.cs
similarity index 100%
rename from Sharprompt.Tests/TextInputBufferTests.cs
rename to tests/Sharprompt.Tests/Internal/TextInputBufferTests.cs
diff --git a/Sharprompt.Tests/TypeHelperTests.cs b/tests/Sharprompt.Tests/Internal/TypeHelperTests.cs
similarity index 100%
rename from Sharprompt.Tests/TypeHelperTests.cs
rename to tests/Sharprompt.Tests/Internal/TypeHelperTests.cs
diff --git a/Sharprompt.Tests/ValidatorsExtensionsTests.cs b/tests/Sharprompt.Tests/Internal/ValidatorsExtensionsTests.cs
similarity index 100%
rename from Sharprompt.Tests/ValidatorsExtensionsTests.cs
rename to tests/Sharprompt.Tests/Internal/ValidatorsExtensionsTests.cs
diff --git a/Sharprompt.Tests/OptionsTests.cs b/tests/Sharprompt.Tests/Options/OptionsTests.cs
similarity index 100%
rename from Sharprompt.Tests/OptionsTests.cs
rename to tests/Sharprompt.Tests/Options/OptionsTests.cs
diff --git a/Sharprompt.Tests/PromptCanceledExceptionTests.cs b/tests/Sharprompt.Tests/PublicApi/PromptCanceledExceptionTests.cs
similarity index 100%
rename from Sharprompt.Tests/PromptCanceledExceptionTests.cs
rename to tests/Sharprompt.Tests/PublicApi/PromptCanceledExceptionTests.cs
diff --git a/Sharprompt.Tests/Sharprompt.Tests.csproj b/tests/Sharprompt.Tests/Sharprompt.Tests.csproj
similarity index 55%
rename from Sharprompt.Tests/Sharprompt.Tests.csproj
rename to tests/Sharprompt.Tests/Sharprompt.Tests.csproj
index 9753e6f..fce00b4 100644
--- a/Sharprompt.Tests/Sharprompt.Tests.csproj
+++ b/tests/Sharprompt.Tests/Sharprompt.Tests.csproj
@@ -2,21 +2,20 @@
net8.0
- enable
false
-
-
+
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all
-
+
-
+
diff --git a/Sharprompt.Tests/ValidatorsTests.cs b/tests/Sharprompt.Tests/Validation/ValidatorsTests.cs
similarity index 100%
rename from Sharprompt.Tests/ValidatorsTests.cs
rename to tests/Sharprompt.Tests/Validation/ValidatorsTests.cs