refactor: simplified CLI options

This commit is contained in:
saberzero1 committed 2026-03-31 18:50:27 +02:00
1 parent 704484d6a5
commit db2cc6abca
3 files changed
+729 -602

No files matched your search

-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`