Splits mix composer.new argv into APP, REF, the archive's own options
and the recipe flags.
This is a manual pass, like igniter.new's, rather than OptionParser
in :strict mode: a strict parse drops the switches it doesn't know,
which are the recipe flags here, and would read the --no-ecto of
--with-args --no-ecto as a switch. The rules:
- APP is the first argument
- an option with a value takes
--opt=valueor--opt value; for--with-args, the separate form takes the next argument as it is, even when it starts with- --installand--extra-deprepeat, and--installalso splits on,--reset,--dry-runand--no-recipeare booleans- any other
-xor--xis a recipe flag, kept in order - after
--, everything is a recipe flag - the second positional argument is REF, and a third is an error
Summary
Functions
Parses argv.