Skip to main content

Date type parameter for click

Project description

Date type parameter for click

Installation

To get the latest stable release from PyPi

pip install click-date-type

Usage

from click_date_type import Date

@click.command()
@click.option("--start_date", type=Date())
def cli(start_date):
    click.echo(start_date.strftime("%Y-%m-%d"))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for click-date-type, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size click_date_type-0.1.0-py3-none-any.whl (2.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size click-date-type-0.1.0.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page