[PR #380] [CLOSED] feat(cli): add CLI download support and persistent config #1889

Closed
opened 2026-03-13 19:39:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/afkarxyz/SpotiFLAC/pull/380
Author: @Nizarberyan
Created: 1/25/2026
Status: Closed

Base: mainHead: main


📝 Commits (2)

  • d53fec0 feat(cli): add CLI download support and persistent config
  • ea70f49 fix(cli): address review comments

📊 Changes

3 files changed (+253 additions, -3 deletions)

View changed files

📝 backend/config.go (+4 -1)
📝 backend/history.go (+41 -2)
📝 main.go (+208 -0)

📄 Description

  • Implements CLI mode for downloading Spotify tracks, albums, and playlists directly via terminal arguments.
  • Adds persistent configuration for the default output directory using the existing BoltDB instance.
  • Adds flag to permanently set the default download destination.
  • Adds flag to override the output directory for a single run.
  • Refactors to handle CLI arguments and bypass GUI initialization when flags or URLs are detected.
  • Updates backend to respect the persistent configuration.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/afkarxyz/SpotiFLAC/pull/380 **Author:** [@Nizarberyan](https://github.com/Nizarberyan) **Created:** 1/25/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`d53fec0`](https://github.com/afkarxyz/SpotiFLAC/commit/d53fec034347a68c6ea8548198d7cc9449306e34) feat(cli): add CLI download support and persistent config - [`ea70f49`](https://github.com/afkarxyz/SpotiFLAC/commit/ea70f496db6350aa138b1d012347a0146f171f9a) fix(cli): address review comments ### 📊 Changes **3 files changed** (+253 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `backend/config.go` (+4 -1) 📝 `backend/history.go` (+41 -2) 📝 `main.go` (+208 -0) </details> ### 📄 Description - Implements CLI mode for downloading Spotify tracks, albums, and playlists directly via terminal arguments. - Adds persistent configuration for the default output directory using the existing BoltDB instance. - Adds flag to permanently set the default download destination. - Adds flag to override the output directory for a single run. - Refactors to handle CLI arguments and bypass GUI initialization when flags or URLs are detected. - Updates backend to respect the persistent configuration. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-13 19:39:44 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SpotiFLAC#1889
No description provided.