mirror of
https://github.com/fergalmoran/snapp-cli.git
synced 2025-12-22 10:00:52 +00:00
25 lines
708 B
C#
25 lines
708 B
C#
using Microsoft.Extensions.Options;
|
|
using Snapp.Cli.Helpers;
|
|
using Snapp.Cli.Services;
|
|
using Spectre.Console.Cli;
|
|
|
|
namespace Snapp.Cli.Commands;
|
|
|
|
public class ListSnappsCommand : AsyncCommand<ListSnappsCommand.Settings> {
|
|
private readonly SnappService _snappService;
|
|
|
|
public ListSnappsCommand(SnappService snappService) {
|
|
_snappService = snappService;
|
|
}
|
|
|
|
public sealed class Settings : CommandSettings { }
|
|
// public sealed class Settings : CommandSettings {
|
|
// public Settings(IOptions<AppSettings> settings) : base(settings) { }
|
|
// }
|
|
|
|
public override async Task<int> ExecuteAsync(CommandContext context, Settings settings) {
|
|
Console.WriteLine($"Listing shit");
|
|
return 1;
|
|
}
|
|
}
|