Overview

Click 8.2, released on May 10, 2025, drops Python 3.7-3.9 support and migrates to pyproject.toml.

Main Features

Python 3.10+ and pyproject.toml

Click now requires Python 3.10+ and uses pyproject.toml as its sole configuration format, dropping setup.py.

python
import click

@click.command()
@click.option('--name', default='World', help='Name')
def hello(name):
    click.echo(f'Hello {name}!')

if __name__ == '__main__':
    hello()

Group improvements

Command groups benefit from better subcommand handling and improved help formatting options.

python
import click

@click.group()
def cli():
    pass

@cli.command()
@click.argument('filename')
def process(filename):
    click.echo(f'Processing {filename}')

@cli.command()
def status():
    click.echo('OK')

Sources