Created by potrace 1.16, written by Peter Selinger 2001-2019 Spectre.Console
  • Sponsor Sponsor
  • GitHub icon GitHub
Welcome!
Sponsors
Quick Start
Best Practices
Recent Blog Posts
Release Notes
News
Markup
Exceptions
Live
Live Display
Progress
Status
Prompts
Text prompt
Selection
Multi Selection
Widgets
Table
Tree
Bar Chart
Rule
Calendar
Figlet
Canvas
Canvas Image
Text Path
Spectre.Console.Cli
Getting Started
Introduction
CommandApp
Specifying Settings
Creating Commands
Composing Commands
Migrate from Spectre.Cli
Exceptions
Appendix
Colors
Styles
Borders
Emojis
Spinners
API Reference

ExecuteAsync(CommandContext, TSettings) Method

  1. API Reference
  2. Spectre.Console.Cli
  3. AsyncCommand<TSettings>
  4. ExecuteAsync(CommandContext, TSettings)
Executes the command.
public abstract Task<int> ExecuteAsync(CommandContext context, TSettings settings)
Namespace
Spectre.Console.Cli
Containing Type
AsyncCommand<TSettings>

Parameters

CommandContext context
The command context.
TSettings settings
The settings.

Returns

Task<int>
© 2022 Patrik Svensson, Phil Scott, Nils Andresen Powered by Netlify 1.0.0