ParentCommandOnChildCommandNotFound Method

Method called when no nested subcommand name was specified, or the nested subcommand could not be found.

Definition

Namespace: Ookii.CommandLine.Commands
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
protected virtual void OnChildCommandNotFound(
	string? commandName,
	CommandManager manager
)

Parameters

commandName  String
The name of the nested subcommand, or if none was specified.
manager  CommandManager
The CommandManager used to create the subcommand.

Remarks

The base class implementation writes usage help with a list of all nested subcommands.

See Also