@haxcms/migrate-elmsln
v0.0.13
Published
Migrate ELMSLN content to HAXcms.
Downloads
10
Readme
@haxcms/migrate-elmsln
Migrate ELMSLN content to HAXcms.
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