Skip to content

Instantly share code, notes, and snippets.

View walterlv's full-sized avatar
💤
Sleeping...

walterlv walterlv

💤
Sleeping...
View GitHub Profile
@walterlv
walterlv / CommandArgumentAttribute.cs
Created October 21, 2017 01:40
Provide a reflection based wrapper for `Microsoft.Extensions.CommandlineUtils` Library.
using System;
namespace Mdmeta.Core
{
/// <summary>
/// Specify a property to receive argument of command from the user.
/// </summary>
[AttributeUsage(AttributeTargets.Property)]
public sealed class CommandArgumentAttribute : Attribute
{