refactor: simplified CLI options

This commit is contained in:
saberzero1
2026-03-31 18:50:27 +02:00
parent 704484d6a5
commit db2cc6abca
3 changed files with 729 additions and 602 deletions
-11
View File
@@ -26,7 +26,6 @@ import {
import {
handlePluginRestore,
handlePluginCheck,
handlePluginUpdate,
handlePluginResolve,
} from "./plugin-git-handlers.js"
import {
@@ -682,16 +681,6 @@ export async function handleUpgrade(argv) {
console.log(styleText("green", "Done!"))
}
/**
* Handles `npx quartz update`
* Shortcut for `npx quartz plugin update` — updates all installed plugins.
* @param {*} argv arguments for `update`
*/
export async function handleUpdate(argv) {
console.log(`\n${styleText(["bgGreen", "black"], ` Quartz v${version} `)} \n`)
await handlePluginUpdate(argv.names)
}
/**
* Handles `npx quartz restore`
* @param {*} argv arguments for `restore`
File diff suppressed because it is too large Load Diff