Skip to content

GenEasy - A command line tool that can easily generate HTML, Markdown documents, etc.

License

Notifications You must be signed in to change notification settings

geneasy/geneasy

Repository files navigation

geneasy

NPM Version LICENSE code style: prettier

generate + easy = geneasy = ge

A command line tool that can easily generate HTML, Markdown documents, etc.

Installation

npm i -g geneasy

Usage

Usage: cli|ge [options] <data-file...>

A command line tool that can easily generate HTML, Markdown documents, etc.

Arguments:
  data-file              data file used to fill the document

Options:
  -t, --template <file>  template file used to render the document
  -o, --output <file>    output file
  -V, --version          output the version number
  -h, --help             display help for command

Examples:
  $ geneasy -t template.hbs -o README.md readme.json
  $ geneasy -t template.hbs -o index.html data.yaml
  $ ge -t template.hbs -o /list/index.html data.yaml

Plugins

  • geneasy-yaml - A plugin that enables geneasy to use dafa files in YAML format.
  • geneasy-handlebars - A plugin that enables geneasy to use the Handlebars templates.

Related

  • geneasy-links - 友情链接模板 - 这是一个通用的友情链接模板,任何类型的网站都可以拿去使用。
  • geneasy-nav - 网址导航模板 - 这是一个通用的网址导航模板,任何类型的网站都可以拿去使用。

License

Copyright (c) 2021 Pipecraft. Licensed under the MIT license.

>_

Pipecraft PZWD