mirror of
https://github.com/dilllxd/gitfolio.git
synced 2024-08-14 22:28:09 +00:00
Cli feature (#29)
* Move all cli options to single bin file, export fns from each file instead * Make username/title required in cli itself * fix username not being parsed, set desc separately * read outDir from env var, defaults to dist * set outDir env var in cli to cwd * Move default configs to default dir * handle blog.json not existing * fix assets path * make build function async * update clean command * added defaults to CLI
This commit is contained in:
parent
2ec61a9132
commit
e62e4c05b3
10 changed files with 169 additions and 99 deletions
1
default/blog.json
Normal file
1
default/blog.json
Normal file
|
@ -0,0 +1 @@
|
|||
[]
|
11
default/config.json
Normal file
11
default/config.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
[
|
||||
{
|
||||
"username": null,
|
||||
"name": null,
|
||||
"userimg": null,
|
||||
"sort": null,
|
||||
"order": null,
|
||||
"includeFork": null,
|
||||
"theme": "light.css"
|
||||
}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue