ArgStep.mode

bool mode(ArgStep* this, unscoped string name, unscoped string description, bool hidden = false)

Attempts to match a subcommand mode.

A mode is a first positional command such as build or test. Options and operands can opt into specific modes through ArgOption.modes.

Parameters

ArgStep*
this
unscoped string
name
unscoped string
description
bool
hidden = false

Generated with campc 0.11.0-preview.1.