0.1.2 • Published 3 years ago

upload2cs v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

upload2cs

Upload bulk assets to Contentstack

Install

$ npm install upload2cs -g

CLI Usage

$ upload2cs --help

  Usage
    $ upload2cs --apiKey="api_key_of_the_stack" --managementToken="read_write_access_token"
Options
    --apiKey                 API key of the Stack.
    --managementToken        Management Token with read write access.
    --assetsDir              Directory from where assets should be uploaded
    --uploadParentDirUid     Parent UID of Contentstack folder where all assets should be uploaded.
    --isAemDamDir            Flag to indicate that asset directory is AEM DAM directory.
    --preserveDirPaths       Flag to preserve folder structure in the Contentstack.
    --concurrency            Number of assets to be uploaded in parallel.
    --publishEnvironments    Comma separated environment names where assets should be published .
    --noDuplicateAsset       If false then it will not check for the existing name folder or assets.
    --cwd                    Current working directory for the operations.
<source> can contain globs if quoted
Examples
    Upload all assets from the current directory
    $ upload2cs --apiKey="api_key_of_the_stack" --managementToken="read_write_access_token"
    Upload all assets from the current unzipped AEM DAM directory
    $ upload2cs --apiKey="api_key_of_the_stack" --managementToken="read_write_access_token" --isAemDamDir
0.1.2

3 years ago

0.1.1

3 years ago

0.1.1-0

3 years ago