Skip to content

Commit 591116c

Browse files
committed
Stub for console app
1 parent 781e3d2 commit 591116c

15 files changed

+268
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net8.0</TargetFramework>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
</PropertyGroup>
9+
10+
<ItemGroup>
11+
<PackageReference Include="Spectre.Console" Version="0.49.1" />
12+
<PackageReference Include="Spectre.Console.Cli" Version="0.49.1" />
13+
</ItemGroup>
14+
15+
<ItemGroup>
16+
<ProjectReference Include="..\ArcadeManager.Core\ArcadeManager.Core.csproj" />
17+
</ItemGroup>
18+
19+
</Project>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
using System;
2+
using ArcadeManager.Console.Settings;
3+
using Spectre.Console.Cli;
4+
5+
namespace ArcadeManager.Console.Commands;
6+
7+
public class CsvAddCommand : Command<CsvSettings>
8+
{
9+
public override int Execute(CommandContext context, CsvSettings settings)
10+
{
11+
System.Console.WriteLine("CsvAddCommand");
12+
return 0;
13+
}
14+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using ArcadeManager.Console.Settings;
2+
using Spectre.Console.Cli;
3+
4+
namespace ArcadeManager.Console.Commands;
5+
6+
public class CsvConvertDatCommand : Command<CsvSettings>
7+
{
8+
public override int Execute(CommandContext context, CsvSettings settings)
9+
{
10+
System.Console.WriteLine("CsvConvertDatCommand");
11+
return 0;
12+
}
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using ArcadeManager.Console.Settings;
2+
using Spectre.Console.Cli;
3+
4+
namespace ArcadeManager.Console.Commands;
5+
6+
public class CsvConvertIniCommand : Command<CsvSettings>
7+
{
8+
public override int Execute(CommandContext context, CsvSettings settings)
9+
{
10+
System.Console.WriteLine("CsvConvertIniCommand");
11+
return 0;
12+
}
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using ArcadeManager.Console.Settings;
2+
using Spectre.Console.Cli;
3+
4+
namespace ArcadeManager.Console.Commands;
5+
6+
public class CsvDeleteCommand : Command<CsvSettings>
7+
{
8+
public override int Execute(CommandContext context, CsvSettings settings)
9+
{
10+
System.Console.WriteLine("CsvDeleteCommand");
11+
return 0;
12+
}
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using ArcadeManager.Console.Settings;
2+
using Spectre.Console.Cli;
3+
4+
namespace ArcadeManager.Console.Commands;
5+
6+
public class CsvKeepCommand : Command<CsvSettings>
7+
{
8+
public override int Execute(CommandContext context, CsvSettings settings)
9+
{
10+
System.Console.WriteLine("CsvKeepCommand");
11+
return 0;
12+
}
13+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
using System;
2+
using ArcadeManager.Console.Settings;
3+
using Spectre.Console.Cli;
4+
5+
namespace ArcadeManager.Console.Commands;
6+
7+
public class RomsAddCommand : Command<RomsSettings>
8+
{
9+
public override int Execute(CommandContext context, RomsSettings settings)
10+
{
11+
System.Console.WriteLine("RomsAddCommand");
12+
return 0;
13+
}
14+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using ArcadeManager.Console.Settings;
2+
using Spectre.Console.Cli;
3+
4+
namespace ArcadeManager.Console.Commands;
5+
6+
public class RomsCheckDatCommand : Command<RomsCheckDatSettings>
7+
{
8+
public override int Execute(CommandContext context, RomsCheckDatSettings settings)
9+
{
10+
System.Console.WriteLine("RomsCheckDatCommand");
11+
return 0;
12+
}
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using ArcadeManager.Console.Settings;
2+
using Spectre.Console.Cli;
3+
4+
namespace ArcadeManager.Console.Commands;
5+
6+
public class RomsDeleteCommand : Command<RomsSettings>
7+
{
8+
public override int Execute(CommandContext context, RomsSettings settings)
9+
{
10+
System.Console.WriteLine("RomsDeleteCommand");
11+
return 0;
12+
}
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using ArcadeManager.Console.Settings;
2+
using Spectre.Console.Cli;
3+
4+
namespace ArcadeManager.Console.Commands;
5+
6+
public class RomsKeepCommand : Command<RomsSettings>
7+
{
8+
public override int Execute(CommandContext context, RomsSettings settings)
9+
{
10+
System.Console.WriteLine("RomsKeepCommand");
11+
return 0;
12+
}
13+
}

0 commit comments

Comments
 (0)