chore(cli): remove version from prompt; remove navidrome from menus for consistency

This commit is contained in:
Cory Dransfeldt 2025-06-18 12:18:02 -07:00
parent bb626cb178
commit ad5754f78f
No known key found for this signature in database
4 changed files with 6 additions and 7 deletions

View file

@ -14,8 +14,7 @@ process.on("uncaughtException", (err) => handleExitError(err, "Uncaught exceptio
program program
.name("coryd") .name("coryd")
.description("🪄 Handle tasks, run commands or jobs, download things and have fun.") .description("🪄 Handle tasks, run commands or jobs, download things and have fun.");
.version("3.2.5");
program program
.command("init") .command("init")
.description("Initialize CLI and populate required config.") .description("Initialize CLI and populate required config.")

View file

@ -19,7 +19,7 @@ export const runJobsMenu = async () => {
method: "GET" method: "GET"
}, },
{ {
name: "💿 Scrobble listens from Navidrome", name: "💿 Scrobble listens",
type: "curl", type: "curl",
apiUrl: `${config.url}/api/scrobble.php`, apiUrl: `${config.url}/api/scrobble.php`,
tokenEnvVar: "NAVIDROME_SCROBBLE_TOKEN", tokenEnvVar: "NAVIDROME_SCROBBLE_TOKEN",
@ -40,7 +40,7 @@ export const runJobsMenu = async () => {
method: "POST" method: "POST"
}, },
{ {
name: "🎤 Import artist from Navidrome", name: "🎤 Import artist",
type: "curl", type: "curl",
apiUrl: `${config.url}/api/artist-import.php`, apiUrl: `${config.url}/api/artist-import.php`,
tokenEnvVar: "ARTIST_IMPORT_TOKEN", tokenEnvVar: "ARTIST_IMPORT_TOKEN",

4
cli/package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd", "name": "coryd",
"version": "3.4.0", "version": "3.4.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd", "name": "coryd",
"version": "3.4.0", "version": "3.4.1",
"dependencies": { "dependencies": {
"@directus/sdk": "^19.1.0", "@directus/sdk": "^19.1.0",
"chalk": "^5.4.1", "chalk": "^5.4.1",

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd", "name": "coryd",
"version": "3.4.0", "version": "3.4.1",
"description": "The CLI for my site to handle tasks, run commands or jobs and download things.", "description": "The CLI for my site to handle tasks, run commands or jobs and download things.",
"type": "module", "type": "module",
"bin": { "bin": {