13 lines
365 B
C#
13 lines
365 B
C#
|
|
// Copyright (c) The Geekeey Authors
|
||
|
|
// SPDX-License-Identifier: EUPL-1.2
|
||
|
|
|
||
|
|
using Spectre.Console.Cli;
|
||
|
|
|
||
|
|
internal abstract class AsyncOutputCommand<T> : AsyncCommand<T> where T : OutputCommandSettings
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
internal abstract class OutputCommandSettings : CommandSettings
|
||
|
|
{
|
||
|
|
[CommandOption("--target")] public OutputTarget Target { get; init; } = OutputTarget.StdOut;
|
||
|
|
}
|