From be4191251dd4ba4dedad1abd175d29a1d3e77144 Mon Sep 17 00:00:00 2001 From: leafee98 Date: Fri, 14 Jul 2023 22:00:08 +0800 Subject: [PATCH] add README, fix typo --- README.md | 19 +++++++++++++++++++ index.js | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..14fd7cc --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# bio + +My personal bio page + +## Feature + +* Generate html from information defined in `config.toml`. +* Support to hide sensitive information and load by Javascript. +* Material design like. +* Generate single html file. + +## Build + +Clone this repo, run follow command, and generated html will locationed at `dist/index.html`. + +``` +yarn # install dependencies +yarn r --generate --config config-example.toml +``` diff --git a/index.js b/index.js index bc792a1..6e3804b 100644 --- a/index.js +++ b/index.js @@ -16,7 +16,7 @@ function main() { program .option("--serve", "serve the gerneated files") .option("--generate", "generate prod ready files") - .option("--config ", "config file you use, config-sample.toml as example"); + .option("--config ", "config file you use, config-example.toml as example"); program.parse(); const options = program.opts();