add README, fix typo
This commit is contained in:
parent
0cb17f8a89
commit
be4191251d
19
README.md
Normal file
19
README.md
Normal file
|
@ -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
|
||||
```
|
2
index.js
2
index.js
|
@ -16,7 +16,7 @@ function main() {
|
|||
program
|
||||
.option("--serve", "serve the gerneated files")
|
||||
.option("--generate", "generate prod ready files")
|
||||
.option("--config <config>", "config file you use, config-sample.toml as example");
|
||||
.option("--config <config>", "config file you use, config-example.toml as example");
|
||||
program.parse();
|
||||
const options = program.opts();
|
||||
|
||||
|
|
Loading…
Reference in a new issue