Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateMusicCommand ¶
CreateMusicCommand is the command line data structure for the create action of music
func (*CreateMusicCommand) RegisterFlags ¶
func (cmd *CreateMusicCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type CreateUserCommand ¶
CreateUserCommand is the command line data structure for the create action of user
func (*CreateUserCommand) RegisterFlags ¶
func (cmd *CreateUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type DownloadCommand ¶
type DownloadCommand struct { // OutFile is the path to the download output file. OutFile string }
DownloadCommand is the command line data structure for the download command.
type FollowUserCommand ¶
type FollowUserCommand struct { Payload string ContentType string FolloweeID string ID string PrettyPrint bool }
FollowUserCommand is the command line data structure for the follow action of user
func (*FollowUserCommand) RegisterFlags ¶
func (cmd *FollowUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ListMusicCommand ¶
ListMusicCommand is the command line data structure for the list action of music
func (*ListMusicCommand) RegisterFlags ¶
func (cmd *ListMusicCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ListUserCommand ¶
ListUserCommand is the command line data structure for the list action of user
func (*ListUserCommand) RegisterFlags ¶
func (cmd *ListUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ListenUserCommand ¶
type ListenUserCommand struct { Payload string ContentType string ID string MusicID string PrettyPrint bool }
ListenUserCommand is the command line data structure for the listen action of user
func (*ListenUserCommand) RegisterFlags ¶
func (cmd *ListenUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type RecommendRecommendationsCommand ¶
type RecommendRecommendationsCommand struct { // Maximum number of recommendations to be returned to the user. Set to zero to use server's default. Limit int // ID of the user these recommendations are meant for. UserID string PrettyPrint bool }
RecommendRecommendationsCommand is the command line data structure for the recommend action of recommendations
func (*RecommendRecommendationsCommand) RegisterFlags ¶
func (cmd *RecommendRecommendationsCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowMusicCommand ¶
ShowMusicCommand is the command line data structure for the show action of music
func (*ShowMusicCommand) RegisterFlags ¶
func (cmd *ShowMusicCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowUserCommand ¶
ShowUserCommand is the command line data structure for the show action of user
func (*ShowUserCommand) RegisterFlags ¶
func (cmd *ShowUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.