ampproject/amp-toolbox-php

CLI options parsing is order-dependent

schlessera opened this issue · 0 comments

The parsing of the CLI options is dependent on an arbitrary ordering where associative arguments (flags like --json) need to come first before positional arguments. If these associative arguments are provided after a positional argument, they are currently being silently ignored.