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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
click-date-type-0.1.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for click_date_type-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efa99ae864d1c315052d3753a96d8445ba60dbef0cf7ba4c0448d11cac5ecb85 |
|
MD5 | 38dc3cc1531b64c680bdc9b098d5ffa0 |
|
BLAKE2b-256 | 8d4dd17592c7cccc9cb5e7f3258cf4dc023be9d09908e924eca390309b4495ca |