chore(cli): remove version from prompt; remove navidrome from menus for consistency
This commit is contained in:
parent
bb626cb178
commit
ad5754f78f
4 changed files with 6 additions and 7 deletions
|
@ -14,8 +14,7 @@ process.on("uncaughtException", (err) => handleExitError(err, "Uncaught exceptio
|
|||
|
||||
program
|
||||
.name("coryd")
|
||||
.description("🪄 Handle tasks, run commands or jobs, download things and have fun.")
|
||||
.version("3.2.5");
|
||||
.description("🪄 Handle tasks, run commands or jobs, download things and have fun.");
|
||||
program
|
||||
.command("init")
|
||||
.description("Initialize CLI and populate required config.")
|
||||
|
|
|
@ -19,7 +19,7 @@ export const runJobsMenu = async () => {
|
|||
method: "GET"
|
||||
},
|
||||
{
|
||||
name: "💿 Scrobble listens from Navidrome",
|
||||
name: "💿 Scrobble listens",
|
||||
type: "curl",
|
||||
apiUrl: `${config.url}/api/scrobble.php`,
|
||||
tokenEnvVar: "NAVIDROME_SCROBBLE_TOKEN",
|
||||
|
@ -40,7 +40,7 @@ export const runJobsMenu = async () => {
|
|||
method: "POST"
|
||||
},
|
||||
{
|
||||
name: "🎤 Import artist from Navidrome",
|
||||
name: "🎤 Import artist",
|
||||
type: "curl",
|
||||
apiUrl: `${config.url}/api/artist-import.php`,
|
||||
tokenEnvVar: "ARTIST_IMPORT_TOKEN",
|
||||
|
|
4
cli/package-lock.json
generated
4
cli/package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "coryd",
|
||||
"version": "3.4.0",
|
||||
"version": "3.4.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "coryd",
|
||||
"version": "3.4.0",
|
||||
"version": "3.4.1",
|
||||
"dependencies": {
|
||||
"@directus/sdk": "^19.1.0",
|
||||
"chalk": "^5.4.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"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.",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue