gospt/cmd/albums.go
2023-01-12 18:48:41 -08:00

22 lines
376 B
Go

package cmd
import (
"gospt/internal/commands"
"github.com/spf13/cobra"
)
// albumsCmd represents the albums command
var albumsCmd = &cobra.Command{
Use: "albums",
Short: "get all saved albums",
Long: `get all saved albums`,
Run: func(cmd *cobra.Command, args []string) {
commands.UserAlbums(ctx, client, 1)
},
}
func init() {
rootCmd.AddCommand(albumsCmd)
}