usageDefinition property
Returns the usage definition this command was constructed with, or the default blank one. Override this method to provide a dynamic usage definition.
Implementation
@override
CommandUsageDefinition get usageDefinition => CommandUsageDefinition(
description:
'Generate a shell completion script.\n\n'
'The script needs to be installed only once: it asks '
'$_executableName for the completion alternatives, so it keeps '
'up automatically when $_executableName is updated.\n\n'
'To install it, run "$_executableName completion install".\n\n'
'${completionInstallationOverview(_executableName, heading: 'Manual installation:')}\n\n'
'For a wrapper script with name <name>, generate or install '
'the script with "--command <name>".',
hidden: _hidden,
);