Skip to content

[feature] Support argparse.REMAINDER #90

@Freed-Wu

Description

@Freed-Wu
    parser.add_argument(
        "script_args",
        nargs="*",
        help="Arguments to pass to script or module",
    )

for nargs="*", generate '*::: :->XXX' for zsh

    parser.add_argument(
        "script_args",
        nargs=argparse.REMAINDER,
        help="Arguments to pass to script or module",
    )

for nargs="...", generate '(-)*::: :->XXX' for zsh.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions