All checks were successful
default / default (8.0) (push) Successful in 39s
16 lines
No EOL
384 B
C#
16 lines
No EOL
384 B
C#
using Spectre.Console.Cli;
|
|
|
|
namespace Geekeey.Extensions.Process.Tests.Dummy.Commands;
|
|
|
|
internal sealed class WorkingDirectoryCommand : Command<WorkingDirectoryCommand.Settings>
|
|
{
|
|
public sealed class Settings : CommandSettings
|
|
{
|
|
}
|
|
|
|
public override int Execute(CommandContext context, Settings settings)
|
|
{
|
|
Console.Out.WriteLine(Directory.GetCurrentDirectory());
|
|
return 0;
|
|
}
|
|
} |