1.4.1 • Published 2 years ago

refactor-blockcode v1.4.1

Weekly downloads
56
License
-
Repository
-
Last release
2 years ago

refactor-blockcode-xml

CodeFactor

🚨 Node Version >=15 required

npm i -g refactor-blockcode

Options

      --help         Show help                                         [boolean]
      --version      Show version number                               [boolean]
  -p, --path         relative path to your input book.xml
                                                  [string] [default: "book.xml"]
  -o, --output       relative path to a output folder[string] [default: "dist/"]
  -i, --interactive  Run interactive mode             [boolean] [default: false]
  -l, --link         Check for broken links           [boolean] [default: false]
  -d, --detailed     Output details for checked links [boolean] [default: false]
  -e, --entities     reset entities after refactoring blockcode
                                                      [boolean] [default: false

Example to refactor all Blockcodes into seperate files

refactor-blockcode -p book.xml

Example interactive Mode

refactor-blockcode -i

Example to check for broken links

refactor-blockcode -p book.xml -l