aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorsalmonik <raisersoft@proton.me>2026-05-06 13:07:26 +0200
committersalmonik <raisersoft@proton.me>2026-05-06 13:07:26 +0200
commit26d6630f5b396964efb6df5cf424d536a59e5329 (patch)
tree0146cc7f7be1b9577edbec57d2427ac9f95650ec /src/cli.rs
parentMark unit tests as completed in TODO.md (diff)
downloadrsplayer-26d6630f5b396964efb6df5cf424d536a59e5329.tar.gz
rsplayer-26d6630f5b396964efb6df5cf424d536a59e5329.zip
Add install script, shell completions, and systemd service
- Add install.sh script that builds release, stops daemon, and installs binary - Add shell completions for bash, zsh, and fish - Add systemd user service unit file - Add public binary declaration in Cargo.toml - Add install command to CLI - Make current_track field public for MPRIS integration (placeholder)
Diffstat (limited to '')
-rw-r--r--src/cli.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 1d83262..a18b8f1 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -4,7 +4,7 @@ use clap::{Parser, Subcommand};
4use std::path::PathBuf; 4use std::path::PathBuf;
5 5
6#[derive(Parser)] 6#[derive(Parser)]
7#[command(name = "rsp")] 7#[command(name = "rsp", infer_long_args = true)]
8#[command(about = "Rust music player daemon", long_about = None)] 8#[command(about = "Rust music player daemon", long_about = None)]
9pub struct Cli { 9pub struct Cli {
10 #[command(subcommand)] 10 #[command(subcommand)]