From 49af88de8a0c601492ca409fe529ec9b48b4554b Mon Sep 17 00:00:00 2001 From: Constantine Nathanson Date: Wed, 31 Jul 2024 19:24:18 +0300 Subject: [PATCH] Add missing delivery types in `url` command --- cloudinary_cli/core/utils.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cloudinary_cli/core/utils.py b/cloudinary_cli/core/utils.py index 47c9876..cf355da 100644 --- a/cloudinary_cli/core/utils.py +++ b/cloudinary_cli/core/utils.py @@ -36,7 +36,11 @@ def utils(params, optional_parameter, optional_parameter_parsed, ls): @argument("transformation", default="") @option("-rt", "--resource_type", default="image", type=Choice(['image', 'video', 'raw']), help="The asset type") @option("-t", "--type", "delivery_type", default="upload", - type=Choice(['upload', 'private', 'authenticated', 'fetch', 'list', 'url2png']), + type=Choice([ + 'upload', 'private', 'public', 'authenticated', 'fetch', 'list', 'url2png', + 'sprite', 'text', 'multi', 'facebook', 'twitter', 'twitter_name', 'gravatar', + 'youtube', 'hulu', 'vimeo', 'animoto', 'worldstarhiphop', 'dailymotion' + ]), help="The delivery type.") @option("-o", "--open", 'open_in_browser', is_flag=True, help="Generate the derived asset and open it in your browser.") @option("-s", "--sign", is_flag=True, help="Generate a signed URL.", default=False)