doc icon indicating copy to clipboard operation
doc copied to clipboard

@-sigiled options are not documented for `sub MAIN`

Open gfldex opened this issue 2 years ago • 0 comments

In https://docs.raku.org/language/create-cli @-sigiled options like :@your-repeatable-args are not documented. Example example as follows.

use v6.d;

my @*ARGS=<--foo=abc --foo=123>;

sub MAIN(:@foo) {
    dd @foo;
    # ["abc", IntStr.new(123, "123")]
}

gfldex avatar Oct 28 '23 17:10 gfldex