mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 17:02:51 +08:00

Do not append suffix to text prompt unless there are choices or a default value specified. Closes #413
19 lines
359 B
C#
19 lines
359 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Spectre.Console.Tests
|
|
{
|
|
public sealed class GitHubIssueAttribute : Attribute
|
|
{
|
|
public int IssueId { get; }
|
|
|
|
public GitHubIssueAttribute(int issueId)
|
|
{
|
|
IssueId = issueId;
|
|
}
|
|
}
|
|
}
|