Quantcast

Click(Command line interfaces)

Click(Command line interfaces) wiki, Click(Command line interfaces) review, Click(Command line interfaces) history, Click(Command line interfaces) motto, Click(Command line interfaces) ownership Click(Command line interfaces) news, what is Click(Command line interfaces) Click(Command line interfaces) wikipedia
Click(Command line interfaces) designer, Click(Command line interfaces) sales, Click(Command line interfaces) facts

Click[2][3]​ is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary. It’s the “Command Line Interface Creation Kit”. It’s highly configurable but comes with sensible defaults out of the box.

 

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 is actually implemented as a wrapper around a mild fork of optparse and does not implement any parsing itself. The reason it’s not based on argparse is that argparsedoes not allow proper nesting of commands by design and has some deficiencies when it comes to POSIX compliant argument handling.

 

Click is designed to be fun to work with and at the same time not stand in your way. It’s not overly flexible either. Currently, for instance, it does not allow you to customize the help pages too much. This is intentional because Click is designed to allow you to nest command line utilities. The idea is that you can have a system that works together with another system by tacking two Click instances together and they will continue working as they should.

Features

  • is lazily composable without restrictions
  • fully follows the Unix command line conventions
  • supports loading values from environment variables out of the box
  • supports for prompting of custom values
  • is fully nestable and composable
  • works the same in Python 2 and 3
  • supports file handling out of the box
  • comes with useful common helpers (getting terminal dimensions, ANSI colors, fetching direct keyboard input, screen clearing, finding config paths, launching apps and editors, etc.)

 

All information for Click(Command line interfaces)'s wiki comes from the below links. Any source is valid, including Twitter, Facebook, Instagram, and LinkedIn. Pictures, videos, biodata, and files relating to Click(Command line interfaces) are also acceptable encyclopedic sources.
This is a discussion about Click(Command line interfaces). Concerns about the topic, its accuracy, inclusion of information etc. should be discussed here. Off-topic discussion not pertaining to Click(Command line interfaces) or this wiki will be removed.
Other wiki pages related to Click(Command line interfaces).
Created: 05/10/2018 01:29:55 PM UTC
Last Modified: 05/10/2018 01:34:34 PM UTC