From 9a89159b1bcd2acdf9c12b27a40b5adcab6f5036 Mon Sep 17 00:00:00 2001 From: Thomas Gurung Date: Wed, 20 Nov 2024 11:13:32 +0000 Subject: [PATCH] Updaing help --- cloudinary_cli/modules/clone.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cloudinary_cli/modules/clone.py b/cloudinary_cli/modules/clone.py index c115cf7..1500a06 100644 --- a/cloudinary_cli/modules/clone.py +++ b/cloudinary_cli/modules/clone.py @@ -16,12 +16,12 @@ short_help="""Clone assets from one account to another.""", help=""" \b -Clone assets from one environment to another with/without tags and context (structured metadata is not currently supported). +Clone assets from one environment to another with/without tags and/or context (structured metadata is not currently supported). Source will be your `CLOUDINARY_URL` environemnt variable but you also can specify a different source using `-c/-C` option. Cloning restricted assets is also not supported currently. -Format: cld clone -t/-T -You need to specify the target cloud via `-t` or `-T` (not both) -e.g. cld clone -t cloudinary://:@ -f tags,context -O +Format: cld clone -T +`` can be a CLOUDINARY_URL or a saved config (see `config` command) +e.g. cld clone -T cloudinary://:@ -f tags,context """) @option("-T", "--target", help="Tell the CLI the target environemnt to run the command on.") @@ -113,7 +113,7 @@ def process_metadata(res, overwrite, async_, notification_url, copy_fields=""): if res.get('folder'): # This is required to put the asset in the correct asset_folder # when copying from a fixed to DF (dynamic folder) cloud as if - # you just pass a `folder`param to a DF cloud, it will append + # you just pass a `folder` param to a DF cloud, it will append # this to the `public_id` and we don't want this. cloned_options['asset_folder'] = res.get('folder') elif res.get('asset_folder'):