Skip to content

Revert Click 6 regressions for chain and deprecate chain #1323

@mitsuhiko

Description

@mitsuhiko

With Click 6.0 we landed a change that was supposed to fix chain (0a2919f). In the process it got worse and broke a bunch of non chain uses.

We should back out that change and instead deprecate chain. I do not believe there is a way to make chain work with the current argument parsing and execution behavior.

The reason for this is that click really wants to delegate the parsing of subcommands with the remainder of the command line but this breaks in the light of chaining. I would need to look into the exact implementation again but last time I investigated this it looked like a fundamental issue we cannot fix with the current design.

Metadata

Metadata

Assignees

No one assigned

    Labels

    f:chainfeature: chained commands

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions