mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-11-04 18:40:50 +08:00 
			
		
		
		
	* Adding a dark mode * Adding reference for types to summary pages * Adding API Reference * Adding modifiers to methods/fields/etc * Minimizing files input * Caching a lot of the output pages * Cache only for each execution * Adding API references to existing docs
		
			
				
	
	
		
			12 lines
		
	
	
		
			357 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			357 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System.ComponentModel;
 | 
						|
using Spectre.Console.Cli;
 | 
						|
 | 
						|
namespace Demo.Commands.Add;
 | 
						|
 | 
						|
public abstract class AddSettings : CommandSettings
 | 
						|
{
 | 
						|
    [CommandArgument(0, "<PROJECT>")]
 | 
						|
    [Description("The project file to operate on. If a file is not specified, the command will search the current directory for one.")]
 | 
						|
    public string Project { get; set; }
 | 
						|
}
 |