DEV Community

Discussion on: Add helpful cli to your python libraries... All of them!

Collapse
 
waylonwalker profile image
Waylon Walker

Click does not do anything that cannot be achieved from the standard library. Instead it makes composing cli applications simple. It automatically parses inputs to pass to your function. It automatically generates help text. There are also a number of plugins that make doing really powerful things very simple, for example click_did_you_mean will suggest possible commands if a subcommand does not exist with only one extra line of code.

From the docs

It aims to make the process of writing command line tools quick and fun while also preventing any frustration caused by the 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

Collapse
 
artis3n profile image
Ari Kalfus

Thanks!