spotify-cli / commands/tracks
commands/tracks
CLI command handlers for track operations.
Variables
audioFeaturesCommand
constaudioFeaturesCommand:CommandHandler
Defined in: src/commands/tracks.ts:65
Handles spotify track features <id>.
Outputs audio analysis features (danceability, energy, tempo, etc.) for a track.
recommendationsCommand
constrecommendationsCommand:CommandHandler
Defined in: src/commands/tracks.ts:88
Handles spotify track recommendations --seed-tracks <ids> | --seed-artists <ids> | --seed-genres <genres> [--limit N].
Gets track recommendations based on seed tracks, artists, and/or genres. At least one seed type is required.
removeTracksCommand
constremoveTracksCommand:CommandHandler
Defined in: src/commands/tracks.ts:52
Handles spotify track remove <id...>.
Removes one or more tracks from the current user's library.
savedTracksCommand
constsavedTracksCommand:CommandHandler
Defined in: src/commands/tracks.ts:27
Handles spotify track saved [--limit N] [--offset N].
Lists the current user's saved tracks.
saveTracksCommand
constsaveTracksCommand:CommandHandler
Defined in: src/commands/tracks.ts:39
Handles spotify track save <id...>.
Saves one or more tracks to the current user's library.
trackCommand
consttrackCommand:CommandHandler
Defined in: src/commands/tracks.ts:15
Handles spotify track <id>. Outputs track details.