id = "shpotify"
name = "shpotify"
homepage = "https://github.com/hnarayanan/shpotify"
description = "A command-line interface to Spotify."
executables = ["spotify"]
platforms = ["macos"]
[dotfiles]
paths = []
exclude = []
secret = ["~/.shpotify.cfg"]
[commands]
format = 1
label = "Spotify from the terminal"
description = "Play a song, album, artist or playlist by name in Spotify. Transport commands (next, pause, vol) are simple enough to type directly."
quality = "ai-draft"
base = "fig:spotify"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false }
[[commands.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/spotify.ts"
license = "MIT"
[[commands.subcommand]]
path = ["play"]
label = "Play a song"
description = "Search for a song by name and play it; leave blank to resume playback."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/spotify.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "song"
label = "Song name"
type = "string"
position = 0
description = "The name of the song to start playing."
multiple = true
sources = ["fig"]
[[commands.subcommand.task]]
id = "play"
label = "Play a song"
fields = ["song"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["song"]
[[commands.subcommand]]
path = ["play", "album"]
label = "Play an album"
description = "Find an album by name and play it."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/spotify.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "name"
label = "Album name"
type = "string"
position = 0
description = "Album to search for."
multiple = true
sources = ["fig"]
[[commands.subcommand.task]]
id = "album"
label = "Play an album"
fields = ["name"]
required = ["name"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["name"]
[[commands.subcommand]]
path = ["play", "artist"]
label = "Play an artist"
description = "Find an artist by name and play it."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/spotify.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "name"
label = "Artist name"
type = "string"
position = 0
description = "Artist to search for."
multiple = true
sources = ["fig"]
[[commands.subcommand.task]]
id = "artist"
label = "Play an artist"
fields = ["name"]
required = ["name"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["name"]