The Trans Directory
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: option to specify npx quartz sync message (closes #583)

+7 -1
+5
quartz/cli/args.js
··· 41 41 default: true, 42 42 describe: "create a git commit for your unsaved changes", 43 43 }, 44 + message: { 45 + string: true, 46 + alias: ["m"], 47 + describe: "option to override the default Quartz commit message", 48 + }, 44 49 push: { 45 50 boolean: true, 46 51 default: true,
+2 -1
quartz/cli/handlers.js
··· 483 483 dateStyle: "medium", 484 484 timeStyle: "short", 485 485 }) 486 + const commitMessage = argv.message ?? `Quartz sync: ${currentTimestamp}` 486 487 spawnSync("git", ["add", "."], { stdio: "inherit" }) 487 - spawnSync("git", ["commit", "-m", `Quartz sync: ${currentTimestamp}`], { stdio: "inherit" }) 488 + spawnSync("git", ["commit", "-m", commitMessage], { stdio: "inherit" }) 488 489 489 490 if (contentStat.isSymbolicLink()) { 490 491 // put symlink back