Skip to content

Commit 49af88d

Browse files
Add missing delivery types in url command
1 parent bcc9ad6 commit 49af88d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cloudinary_cli/core/utils.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ def utils(params, optional_parameter, optional_parameter_parsed, ls):
3636
@argument("transformation", default="")
3737
@option("-rt", "--resource_type", default="image", type=Choice(['image', 'video', 'raw']), help="The asset type")
3838
@option("-t", "--type", "delivery_type", default="upload",
39-
type=Choice(['upload', 'private', 'authenticated', 'fetch', 'list', 'url2png']),
39+
type=Choice([
40+
'upload', 'private', 'public', 'authenticated', 'fetch', 'list', 'url2png',
41+
'sprite', 'text', 'multi', 'facebook', 'twitter', 'twitter_name', 'gravatar',
42+
'youtube', 'hulu', 'vimeo', 'animoto', 'worldstarhiphop', 'dailymotion'
43+
]),
4044
help="The delivery type.")
4145
@option("-o", "--open", 'open_in_browser', is_flag=True, help="Generate the derived asset and open it in your browser.")
4246
@option("-s", "--sign", is_flag=True, help="Generate a signed URL.", default=False)

0 commit comments

Comments
 (0)