mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
20 lines
593 B
C#
20 lines
593 B
C#
using System.Diagnostics.CodeAnalysis;
|
|
using System.Threading.Tasks;
|
|
using CliFx.Attributes;
|
|
using CliFx.Infrastructure;
|
|
using CliFx.Schema;
|
|
|
|
namespace CliFx;
|
|
|
|
// Fallback command used when the application doesn't have one configured.
|
|
// This command is only used as a stub for help text.
|
|
[Command]
|
|
internal class FallbackDefaultCommand : ICommand
|
|
{
|
|
public static CommandSchema Schema { get; } =
|
|
CommandSchema.Resolve(typeof(FallbackDefaultCommand));
|
|
|
|
// Never actually executed
|
|
[ExcludeFromCodeCoverage]
|
|
public ValueTask ExecuteAsync(IConsole console) => default;
|
|
} |