func setupClient(cmd *cobra.Command, args []string) { setupLogger() if Client == nil { Client = plurk.New(AppKey, AppSecret, Token, TokenSecret) } }
// Setup plurk client to using plurk feature func SetupPlurk(AppKey string, AppSecret string, Token string, TokenSecret string) { client = plurk.New(AppKey, AppSecret, Token, TokenSecret) }