Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SDKClient *ext.SDK
SDKClient represents an nks.APIClient
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetNotifications ¶
func GetNotifications() []*models.Notification
GetNotifications returns notifications for current user
func GetRepositoryByName ¶
func GetRepositoryByName(name string, debug bool) (models.Repository, error)
GetRepositoryByName returns a custom repository matching a provided name
func PrintNotifications ¶
func PrintNotifications(ns []*models.Notification, n int)
PrintNotifications prints a slice of Notifications to stdout
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.