Skip to content

Function to render help text #702

@WajahatAliAbid

Description

@WajahatAliAbid

Is your feature request related to a problem? Please describe.
I was looking to find a way to show command help during execution of a command. For example, I have main command of cli set to display fidglet text. But I want to show command help right after.

Describe the solution you'd like
Ideally, having a function in AnsiConsole or CommandContext to render command help. For example

public override int Execute(CommandContext context)
{
   AnsiConsole.WriteHelp();
}

I am not sure if there exists a function to provide such implementation. If there is, please refer me to that.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions