Skip to content
Myr

We're unlikely going to be able to fix chain for click 7

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 2dbc14e · Browse files · 1 file+1 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−3 removed

  • other:+1 added−3 removed

1 file+1 added−3 removed

modified:click/core.py+1 added-3 removed
57 unmodified lines
58 'that is in chain mode. This is not supported'59 raise RuntimeError('%s. Command "%s" is set to chain and "%s" was '60 'added as subcommand but it in itself is a '61 'multi command. ("%s" is a %s within a chained '62 '%s named "%s"). This restriction was supposed to '63 'be lifted in 6.0 but the fix was flawed. This '64 'will be fixed in Click 7.0' % (62 '%s named "%s").' % (63 hint, base_command.name, cmd_name,64 cmd_name, cmd.__class__.__name__,65 base_command.__class__.__name__,66 base_command.name))
1697 unmodified lines