feat: Add max downloads #5

Merged
anihm136 merged 4 commits from feat/add_max_downloads into master 2021-10-13 09:58:29 +02:00
Showing only changes of commit 3f7ea3b636 - Show all commits
-1
View File
@@ -12,7 +12,6 @@ URL_TRANSFERSH = 'https://transfer.sh'
@click.command() @click.command()
@click.argument('filename') @click.argument('filename')
def transfersh_cli(filename):
@click.option('-a', '--max-days', type=int, help='Maximum number of days to keep file') @click.option('-a', '--max-days', type=int, help='Maximum number of days to keep file')
def transfersh_cli(filename, max_days, max_downloads): def transfersh_cli(filename, max_days, max_downloads):
""" Program that uploads a file to Transfer.sh """ """ Program that uploads a file to Transfer.sh """