quartz-research-note/quartz
Ben Schlegel 0688a2415f feat: support CLI arguments for npx quartz create (#421)
* feat(cli): add new args for content + link resolve

* feat(cli): validate cmd args

* feat(cli): add chalk + error code to errors

* feat(cli): support for setup/link via args

* refactor(cli): use yargs choices instead of manual

Scrap manual check if arguments are valid, use yargs "choices" field instead.

* feat(cli): add in-dir argument+ handle errors

add new "in-directory" argument, used if "setup" is "copy" or "symlink" to determine source. add error handling for invalid permutations of arguments or non existent path

* feat(cli): dynamically use cli or provided args

use "in-directory" arg as `originalFolder` if available, otherwise get it from manual cli process

* run format

* fix: use process.exit instead of return

* refactor: split CommonArgv and CreateArgv

* refactor(cli): rename create args, use ${} syntax

* fix(cli): fix link resolution strategy arg

* format

* feat(consistency): allow partial cmd args
2023-08-26 13:21:44 -07:00
..
components format 2023-08-24 10:03:14 -07:00
plugins feat(plugins): add OxHugoFlavouredMarkdown (#419) 2023-08-25 22:52:23 -07:00
processors fix relative path resolution in router and link crawling 2023-08-16 22:04:15 -07:00
static fix head.tsx 2023-08-08 20:36:24 -07:00
styles style: fix mulitline callout styling 2023-08-26 10:48:34 -07:00
util fix: percent-encoding for files with %, contentIndex for non-latin chars (closes #397, closes #399) 2023-08-22 23:34:28 -07:00
bootstrap-cli.mjs feat: support CLI arguments for npx quartz create (#421) 2023-08-26 13:21:44 -07:00
bootstrap-worker.mjs run prettier 2023-07-22 17:27:41 -07:00
build.ts feat: reproducible build (#412) 2023-08-24 11:41:20 -07:00
cfg.ts feat: add defaultDateType config 2023-08-24 08:56:40 -07:00
worker.ts base path refactor to better support subpath hosting 2023-08-19 15:52:25 -07:00