Skip to content

spotify-cli


spotify-cli / commands/user

commands/user

CLI command handlers for user profile and follow operations.

Variables

followCommand

const followCommand: CommandHandler

Defined in: src/commands/user.ts:54

Handles spotify follow <id...>.

Follows one or more artists.


followingCommand

const followingCommand: CommandHandler

Defined in: src/commands/user.ts:42

Handles spotify following [--limit N] [--after <artist_id>].

Lists the current user's followed artists.


meCommand

const meCommand: CommandHandler

Defined in: src/commands/user.ts:15

Handles spotify me. Outputs the current user's profile.


topCommand

const topCommand: CommandHandler

Defined in: src/commands/user.ts:25

Handles spotify top <artists|tracks> [--time-range short_term|medium_term|long_term] [--limit N] [--offset N].

Gets the current user's top artists or tracks.


unfollowCommand

const unfollowCommand: CommandHandler

Defined in: src/commands/user.ts:67

Handles spotify unfollow <id...>.

Unfollows one or more artists.

MIT Licensed. Not affiliated with or endorsed by Spotify AB.