inability to implement an intended CLI API. Click in three points: • arbitrary nesting of commands • automatic help page generation • supports lazy loading of subcommands at runtime What does it look like does support dispatching to subcommands, it for instance does not directly support any kind of automatic subcommand enumeration based on what’s available or it does not enforce subcommands to work in a came up why Click does not auto correct parameters given that even optparse and argparse support automatic expansion of long arguments. The reason for this is that it’s a liability for backwards compatibility
0 码力 |
101 页 |
407.32 KB
| 1 年前 3