passThroughArgs property

  1. @override
bool get passThroughArgs
inherited

Whether every argument after this command is left unparsed, to be passed through to another program. Defaults to false.

When true, the arguments are not options, subcommands or option values of this command line, whatever they look like. That includes --help and --. They are Configuration.remainingPosArgs of this command, as they were written. Options before this command are parsed as usual.

Completion of those arguments is up to completePassThroughArgs.

A pass-through command must not be the root command, and must not have subcommands or command line options: the parser would never reach them.

Implementation

@override
bool get passThroughArgs => false;