@contentstack/cli-cm-import

    0.1.1-beta.10 • Public • Published

    @contentstack/cli-cm-import

    It is Contentstack’s CLI plugin to import content in the stack. To learn how to export and import content in Contentstack, refer to the Migration guide.

    License

    Usage

    $ npm install -g @contentstack/cli-cm-import
    $ csdx COMMAND
    running command...
    $ csdx (-v|--version|version)
    @contentstack/cli-cm-import/0.1.1-beta.10 linux-x64 node-v12.22.7
    $ csdx --help [COMMAND]
    USAGE
      $ csdx COMMAND
    ...

    Commands

    csdx cm:import

    USAGE
      $ csdx cm:import
    
    OPTIONS
      -A, --auth-token                                     to use auth token
      -a, --management-token-alias=management-token-alias  alias of the management token
      -b, --backup-dir=backup-dir                          [optional] backup directory name when using specific module
      -c, --config=config                                  [optional] path of config file
      -d, --data=data                                      path and location where data is stored
      -m, --module=module                                  [optional] specific module name
      -s, --stack-uid=stack-uid                            API key of the target stack
    
    DESCRIPTION
      ...
      Once you export content from the source stack, import it to your destination stack by using the cm:import command.
    
    EXAMPLES
      csdx cm:import -A
      csdx cm:import -A -s <stack_ApiKey> -d <path/of/export/destination/dir>
      csdx cm:import -A -c <path/of/config/dir>
      csdx cm:import -A -m <single module name>
      csdx cm:import -A -m <single module name> -b <backup dir>
      csdx cm:import -a <management_token_alias>
      csdx cm:import -a <management_token_alias> -d <path/of/export/destination/dir>
      csdx cm:import -a <management_token_alias> -c <path/of/config/file>
    

    See code: src/commands/cm/import.js

    Install

    npm i @contentstack/cli-cm-import

    DownloadsWeekly Downloads

    153

    Version

    0.1.1-beta.10

    License

    MIT

    Unpacked Size

    155 kB

    Total Files

    31

    Last publish

    Collaborators

    • shafeeqd959
    • mynk
    • kego1992
    • roshangade
    • iyerrama29
    • uukkoji
    • cloudaccounts
    • gautam.lodhiya
    • hiteshshetty