[PR #316] [MERGED] Add play, pause, and generate CLI commands #714

Closed
opened 2026-03-02 23:49:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aome510/spotify-player/pull/316
Author: @aome510
Created: 12/9/2023
Status: Merged
Merged: 12/9/2023
Merged by: @aome510

Base: masterHead: improve-cli


📝 Commits (5)

📊 Changes

9 files changed (+107 additions, -64 deletions)

View changed files

📝 Cargo.lock (+10 -0)
📝 spotify_player/Cargo.toml (+1 -0)
📝 spotify_player/src/cli/client.rs (+2 -0)
📝 spotify_player/src/cli/commands.rs (+14 -0)
📝 spotify_player/src/cli/handlers.rs (+21 -6)
📝 spotify_player/src/cli/mod.rs (+54 -1)
📝 spotify_player/src/client/mod.rs (+4 -4)
📝 spotify_player/src/event/mod.rs (+0 -2)
📝 spotify_player/src/main.rs (+1 -51)

📄 Description

Resolves #315
Resolves #310

Changes

  • add play and pause CLI commands
  • add generate CLI command for generating shell completion
    • add clap_complete dependency
  • handle / special character when saving images into the cache folder

🔄 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/aome510/spotify-player/pull/316 **Author:** [@aome510](https://github.com/aome510) **Created:** 12/9/2023 **Status:** ✅ Merged **Merged:** 12/9/2023 **Merged by:** [@aome510](https://github.com/aome510) **Base:** `master` ← **Head:** `improve-cli` --- ### 📝 Commits (5) - [`394d970`](https://github.com/aome510/spotify-player/commit/394d9705ec4f9ee714e627fa746f42e8e82e871d) add `play` and `pause` playback CLI commands - [`30e400d`](https://github.com/aome510/spotify-player/commit/30e400d8e44b6efe7ed819b3e0f387549cb867c7) handle `/` in file's name - [`9ddb55d`](https://github.com/aome510/spotify-player/commit/9ddb55d6f3d0635b8b66b857ee238e29294db9f1) add `clap_complete` dependency - [`5b68446`](https://github.com/aome510/spotify-player/commit/5b68446a2721ecc085635ba3b881255fdf7c494d) add `generate` CLI command - [`0c5104e`](https://github.com/aome510/spotify-player/commit/0c5104e14aba88354c1f9511716d81a84fd23021) fix CI ### 📊 Changes **9 files changed** (+107 additions, -64 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+10 -0) 📝 `spotify_player/Cargo.toml` (+1 -0) 📝 `spotify_player/src/cli/client.rs` (+2 -0) 📝 `spotify_player/src/cli/commands.rs` (+14 -0) 📝 `spotify_player/src/cli/handlers.rs` (+21 -6) 📝 `spotify_player/src/cli/mod.rs` (+54 -1) 📝 `spotify_player/src/client/mod.rs` (+4 -4) 📝 `spotify_player/src/event/mod.rs` (+0 -2) 📝 `spotify_player/src/main.rs` (+1 -51) </details> ### 📄 Description Resolves #315 Resolves #310 ## Changes - add `play` and `pause` CLI commands - add `generate` CLI command for generating shell completion - add `clap_complete` dependency - handle `/` special character when saving images into the cache folder --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 23:49:29 +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/spotify-player#714
No description provided.