@haxcms/migrate-elmsln

0.0.13 • Public • Published

@haxcms/migrate-elmsln

Migrate ELMSLN content to HAXcms.

oclif Version Downloads/week License

Usage

$ npm install -g @haxcms/migrate-elmsln
$ migrate-elmsln COMMAND
running command...
$ migrate-elmsln (-v|--version|version)
@haxcms/migrate-elmsln/0.0.13 darwin-x64 node-v12.13.0
$ migrate-elmsln --help [COMMAND]
USAGE
  $ migrate-elmsln COMMAND
...

Commands

migrate-elmsln help [COMMAND]

display help for migrate-elmsln

USAGE
  $ migrate-elmsln help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

migrate-elmsln run

Convert ELMSLN content to HAXcms.

USAGE
  $ migrate-elmsln run

OPTIONS
  -h, --help                       show CLI help
  -i, --images                     convert images defined in img tags to local assets.
  -j, --jos=jos                    (required) location of site.json file.
  -s, --skipDownload               skip downloading assets using puppeteer.
  -t, --tokens                     convert tokens defined in img tags to local assets.
  -u, --url=url                    url of the ELMS site that contains the assets.
  -v, --version                    show CLI version
  --imagesAttrName=imagesAttrName  [default: src] specify image attribute. Required if images option is set.
  --imagesTagName=imagesTagName    [default: img] specify image tag. Required if images option is set.

See code: src/commands/run.js

Readme

Keywords

Package Sidebar

Install

npm i @haxcms/migrate-elmsln

Weekly Downloads

1

Version

0.0.13

License

Apache 2.0

Unpacked Size

9.22 kB

Total Files

7

Last publish

Collaborators

  • btopro
  • heymp